Interface AuthnContext
- 
 public interface AuthnContextThe AuthnContext contains information relevant for the user with granted access.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAccessToken()This string represents the access token used for this context.longgetCreatedAt()The time stamp in milliseconds since the epoch when this token was created.longgetExpiresIn()The lifetime of this authentication context in seconds.java.lang.String[]getGrantedScopes()The scopes that were granted for this access contextjava.util.Map<java.lang.String,java.lang.String[]>getProperties()The extension propertiesjavax.servlet.http.HttpServletRequestgetRequest()The HTTPServletRequest from the endpoint invokedjavax.servlet.http.HttpServletResponsegetResponse()The HTTPServletResponse from the endpoint invokedjava.lang.StringgetUserName()The name of the user who authorized this token
 
- 
- 
- 
Method Detail- 
getAccessTokenjava.lang.String getAccessToken() This string represents the access token used for this context.- Returns:
- the access token
 
 - 
getGrantedScopesjava.lang.String[] getGrantedScopes() The scopes that were granted for this access context- Returns:
- the grantedScopes
 
 - 
getCreatedAtlong getCreatedAt() The time stamp in milliseconds since the epoch when this token was created. This can be used along with the lifetime to calculate an expiration time.- Returns:
- the createdAt in milliseconds
 
 - 
getExpiresInlong getExpiresIn() The lifetime of this authentication context in seconds.- Returns:
- the expiresIn in seconds
 
 - 
getUserNamejava.lang.String getUserName() The name of the user who authorized this token- Returns:
- the user name
 
 - 
getRequestjavax.servlet.http.HttpServletRequest getRequest() The HTTPServletRequest from the endpoint invoked- Returns:
- the request
 
 - 
getResponsejavax.servlet.http.HttpServletResponse getResponse() The HTTPServletResponse from the endpoint invoked- Returns:
- the response
 
 - 
getPropertiesjava.util.Map<java.lang.String,java.lang.String[]> getProperties() The extension properties- Returns:
- the properties
 
 
- 
 
-