@Generated public class CredentialsManagerAPI extends Object
Constructor and Description |
---|
CredentialsManagerAPI(ApiClient apiClient)
Regular-use constructor
|
CredentialsManagerAPI(CredentialsManagerService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
ExchangeTokenResponse |
exchangeToken(ExchangeTokenRequest request)
Exchange token.
|
ExchangeTokenResponse |
exchangeToken(PartitionId partitionId,
Collection<TokenType> tokenType,
Collection<String> scopes) |
CredentialsManagerService |
impl() |
public CredentialsManagerAPI(ApiClient apiClient)
public CredentialsManagerAPI(CredentialsManagerService mock)
public ExchangeTokenResponse exchangeToken(PartitionId partitionId, Collection<TokenType> tokenType, Collection<String> scopes)
public ExchangeTokenResponse exchangeToken(ExchangeTokenRequest request)
Exchange tokens with an Identity Provider to get a new access token. It allows specifying scopes to determine token permissions.
public CredentialsManagerService impl()
Copyright © 2024. All rights reserved.