Class AffindaTokenCredential

  • All Implemented Interfaces:
    com.azure.core.credential.TokenCredential

    public class AffindaTokenCredential
    extends Object
    implements com.azure.core.credential.TokenCredential
    • Constructor Detail

      • AffindaTokenCredential

        public AffindaTokenCredential​(String APIKey)
        Creates an instance of the AffindaTokenCredneital.
    • Method Detail

      • getAPIToken

        public com.azure.core.credential.AccessToken getAPIToken()
      • getToken

        public reactor.core.publisher.Mono<com.azure.core.credential.AccessToken> getToken​(com.azure.core.credential.TokenRequestContext request)
        Just returns the API token
        Specified by:
        getToken in interface com.azure.core.credential.TokenCredential
        Parameters:
        request - the details of the token request
        Returns:
        a Publisher that emits a single access token