IAuthenticationResult Interface
public interface IAuthenticationResult
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getAccessToken() |
IAccount |
getAccount()
Gets the Account. |
String |
getAuthenticationScheme()
Gets the authentication scheme (Bearer, PoP, etc).... |
String |
getAuthorizationHeader()
Gets the fully-formed Authorization header value. Includes the Authentication scheme. Example: Bearer eyJ1aWQiOiJj....... |
UUID |
getCorrelationId()
Gets the correlation id used during the acquire token request. Could be null if an error occurs when parsing from String or if not set. |
Date | getExpiresOn() |
String [] | getScope() |
String | getTenantId() |
Method Details
getAccessToken
public String getAccessToken()
Returns:
getAccount
public IAccount getAccount()
Gets the Account.
Returns:
getAuthenticationScheme
public String getAuthenticationScheme()
Gets the authentication scheme (Bearer, PoP, etc)....
Returns:
getAuthorizationHeader
public String getAuthorizationHeader()
Gets the fully-formed Authorization header value. Includes the Authentication scheme.
Example: Bearer eyJ1aWQiOiJj.......
Returns:
getCorrelationId
public UUID getCorrelationId()
Gets the correlation id used during the acquire token request. Could be null if an error occurs when parsing from String or if not set.
Returns:
getExpiresOn
public Date getExpiresOn()
Returns:
getScope
public String [] getScope()
Returns:
getTenantId
public String getTenantId()
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for