@FunctionalInterface
public interface TokenCredential
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TokenCredential.TokenCredentialCallback
The callback type to receive the token retrieval result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getToken(TokenRequestContext request,
TokenCredential.TokenCredentialCallback callback)
Asynchronously get a token for a given resource/audience.
|
void getToken(TokenRequestContext request, TokenCredential.TokenCredentialCallback callback)
request - the details of the token requestcallback - the callback to receive the token retrieval result.