Package org.wildfly.security.http.oidc
Class AccessAndIDTokenResponse
- java.lang.Object
-
- org.wildfly.security.http.oidc.AccessAndIDTokenResponse
-
public class AccessAndIDTokenResponse extends Object
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 Modifier and Type Field Description protected String
accessToken
protected long
expiresIn
protected String
idToken
protected int
notBeforePolicy
protected Map<String,Object>
otherClaims
protected String
refreshToken
protected String
scope
protected String
tokenType
-
Constructor Summary
Constructors Constructor Description AccessAndIDTokenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
long
getExpiresIn()
String
getIDToken()
int
getNotBeforePolicy()
Map<String,Object>
getOtherClaims()
String
getRefreshToken()
String
getScope()
String
getTokenType()
void
setAccessToken(String accessToken)
void
setExpiresIn(long expiresIn)
void
setIDToken(String idToken)
void
setNotBeforePolicy(int notBeforePolicy)
void
setOtherClaims(String name, Object value)
void
setRefreshToken(String refreshToken)
void
setScope(String scope)
void
setTokenType(String tokenType)
-
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
-
setAccessToken
public void setAccessToken(String accessToken)
-
getTokenType
public String getTokenType()
-
setTokenType
public void setTokenType(String tokenType)
-
getExpiresIn
public long getExpiresIn()
-
setExpiresIn
public void setExpiresIn(long expiresIn)
-
getRefreshToken
public String getRefreshToken()
-
setRefreshToken
public void setRefreshToken(String refreshToken)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getIDToken
public String getIDToken()
-
setIDToken
public void setIDToken(String idToken)
-
getNotBeforePolicy
public int getNotBeforePolicy()
-
setNotBeforePolicy
public void setNotBeforePolicy(int notBeforePolicy)
-
-