Package org.wildfly.security.http.oidc
Class AccessAndIDTokenResponse
java.lang.Object
org.wildfly.security.http.oidc.AccessAndIDTokenResponse
A representation of an OpenID Connect token response that contains both an access token
and an ID token as per the OpenID Connect Core 1.0
specification.
- Author:
- Bill Burke, Farah Juma
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintgetScope()voidsetAccessToken(String accessToken) voidsetExpiresIn(long expiresIn) voidsetIDToken(String idToken) voidsetNotBeforePolicy(int notBeforePolicy) voidsetOtherClaims(String name, Object value) voidsetRefreshToken(String refreshToken) voidvoidsetTokenType(String tokenType)
-
Field Details
-
accessToken
-
tokenType
-
expiresIn
protected long expiresIn -
refreshToken
-
idToken
-
otherClaims
-
scope
-
notBeforePolicy
protected int notBeforePolicy
-
-
Constructor Details
-
AccessAndIDTokenResponse
public AccessAndIDTokenResponse()
-
-
Method Details
-
getAccessToken
-
setAccessToken
-
getTokenType
-
setTokenType
-
getExpiresIn
public long getExpiresIn() -
setExpiresIn
public void setExpiresIn(long expiresIn) -
getRefreshToken
-
setRefreshToken
-
getScope
-
setScope
-
getIDToken
-
setIDToken
-
getNotBeforePolicy
public int getNotBeforePolicy() -
setNotBeforePolicy
public void setNotBeforePolicy(int notBeforePolicy) -
getOtherClaims
-
setOtherClaims
-