IAuthenticationResult Interface
Implements
java.io.Serializable
public interface IAuthenticationResult
extends java.io.Serializable
Interface representing the results of token acquisition operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String | accessToken() |
abstract IAccount | account() |
abstract java.lang.String | environment() |
abstract java.util.Date | expiresOnDate() |
abstract java.lang.String | idToken() |
default
Authentication |
metadata() |
abstract java.lang.String | scopes() |
abstract
ITenant |
tenantProfile() |
Method Details
accessToken
public abstract String accessToken()
Returns:
access token
account
public abstract IAccount account()
Returns:
user account
environment
public abstract String environment()
Returns:
environment
expiresOnDate
public abstract Date expiresOnDate()
Returns:
access token expiration date
idToken
public abstract String idToken()
Returns:
id token
metadata
public default AuthenticationResultMetadata metadata()
Returns:
various metadata relating to this authentication result
scopes
public abstract String scopes()
Returns:
granted scopes values returned by the service
tenantProfile
public abstract ITenantProfile tenantProfile()
Returns:
tenant profile