A C G I O S T U 
All Classes All Packages

A

AccessToken - Class in com.azure.android.core.credential
Represents an immutable access token with a token string and an expiration time.
AccessToken(String, OffsetDateTime) - Constructor for class com.azure.android.core.credential.AccessToken
Creates an access token instance.
addScopes(String...) - Method in class com.azure.android.core.credential.TokenRequestContext
Adds one or more scopes to the request scopes.
AzureKeyCredential - Class in com.azure.android.core.credential
Represents a credential that uses a key to authenticate to an Azure Service.
AzureKeyCredential(String) - Constructor for class com.azure.android.core.credential.AzureKeyCredential
Creates a credential that authorizes request with the given key.

C

com.azure.android.core.credential - package com.azure.android.core.credential
Package containing basic credential classes for authentication purposes.

G

getExpiresAt() - Method in class com.azure.android.core.credential.AccessToken
 
getKey() - Method in class com.azure.android.core.credential.AzureKeyCredential
Retrieves the key associated to this credential.
getScopes() - Method in class com.azure.android.core.credential.TokenRequestContext
Gets the scopes required for the token.
getToken() - Method in class com.azure.android.core.credential.AccessToken
 
getToken(TokenRequestContext, TokenCredential.TokenCredentialCallback) - Method in interface com.azure.android.core.credential.TokenCredential
Asynchronously get a token for a given resource/audience.

I

isExpired() - Method in class com.azure.android.core.credential.AccessToken
 

O

onError(Throwable) - Method in interface com.azure.android.core.credential.TokenCredential.TokenCredentialCallback
Called when the request call could not be executed due an error.
onSuccess(AccessToken) - Method in interface com.azure.android.core.credential.TokenCredential.TokenCredentialCallback
Called when the access token is successfully retrieved.

S

setScopes(List<String>) - Method in class com.azure.android.core.credential.TokenRequestContext
Sets the scopes required for the token.

T

TokenCredential - Interface in com.azure.android.core.credential
The interface for credentials that can provide a token.
TokenCredential.TokenCredentialCallback - Interface in com.azure.android.core.credential
The callback type to receive the token retrieval result.
TokenRequestContext - Class in com.azure.android.core.credential
Contains details of a request to get a token.
TokenRequestContext() - Constructor for class com.azure.android.core.credential.TokenRequestContext
Creates a token request instance.

U

update(String) - Method in class com.azure.android.core.credential.AzureKeyCredential
Rotates the key associated to this credential.
A C G I O S T U 
All Classes All Packages