ITokenExchangeClient
Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication
Performs the RFC 8693 exchange against the identity service.
public interface ITokenExchangeClient
Methods
ExchangeTokenForTenantAsync(String, String, CancellationToken)
Exchanges subjectToken for an access token issued for
targetTenantId. Exchanged tokens carry no refresh token.
Task<AuthenticationData> ExchangeTokenForTenantAsync(string subjectToken, string targetTenantId, CancellationToken cancellationToken)
Parameters
subjectToken String
targetTenantId String
cancellationToken CancellationToken
Returns
Exceptions
TenantTokenExchangeDeniedException
The identity service refused or could not be reached.