public class AffindaTokenCredential extends Object implements com.azure.core.credential.TokenCredential
| Constructor and Description |
|---|
AffindaTokenCredential(String APIKey)
Creates an instance of the AffindaTokenCredneital.
|
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.credential.AccessToken |
getAPIToken() |
reactor.core.publisher.Mono<com.azure.core.credential.AccessToken> |
getToken(com.azure.core.credential.TokenRequestContext request)
Just returns the API token
|
public AffindaTokenCredential(String APIKey)
public com.azure.core.credential.AccessToken getAPIToken()
public reactor.core.publisher.Mono<com.azure.core.credential.AccessToken> getToken(com.azure.core.credential.TokenRequestContext request)
getToken in interface com.azure.core.credential.TokenCredentialrequest - the details of the token requestCopyright © 2022. All rights reserved.