public final class IntrospectionResponseEntity extends Object
| Constructor and Description |
|---|
IntrospectionResponseEntity()
Create a new IntrospectionResponseEntity with default values
(mostly null).
|
IntrospectionResponseEntity(OAuthToken token)
Create a new IntrospectionResponseEntity from a token.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getAud()
Intended audience, in our case the Client ID.
|
BigInteger |
getClientId()
The client ID.
|
Calendar |
getExp()
The expiration timestamp.
|
Calendar |
getIat()
Issued At timestamp.
|
String |
getIss()
The issuer, as in the entity that issued this token.
|
BigInteger |
getJti()
The token ID.
|
Calendar |
getNbf()
Not-Before timestamp.
|
String |
getScope()
The list of scopes authorized for this token.
|
BigInteger |
getSub()
The token subject, usually the resource owner.
|
OAuthTokenType |
getTokenType()
Return the token type.
|
String |
getUsername()
The username, if applicable.
|
boolean |
isActive()
The current active state of this token.
|
public IntrospectionResponseEntity(OAuthToken token)
token - The token.public IntrospectionResponseEntity()
public boolean isActive()
public String getScope()
public BigInteger getClientId()
public String getUsername()
public OAuthTokenType getTokenType()
public Calendar getExp()
public Calendar getIat()
public Calendar getNbf()
public BigInteger getSub()
public BigInteger getAud()
public String getIss()
public BigInteger getJti()
Copyright © 2018 krotscheck.net. All rights reserved.