public final class OAuth2IdPToken extends Object
| Constructor and Description |
|---|
OAuth2IdPToken() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
Retrieve the access token.
|
Long |
getExpiresIn()
Get the expiration time, in seconds.
|
String |
getRefreshToken()
Get the refresh token.
|
String |
getScope()
Get the scope.
|
String |
getState()
Retrieve the state for the token response.
|
String |
getTokenType()
Get the token type!
|
void |
setAccessToken(String accessToken)
Set the access token.
|
void |
setExpiresIn(Long expiresIn)
Set the token expiry.
|
void |
setRefreshToken(String refreshToken)
Set the refresh token.
|
void |
setScope(String scope)
Set the returned scopes.
|
void |
setState(String state)
Set any response state issued with the request.
|
void |
setTokenType(String tokenType)
Set the token type.
|
public String getAccessToken()
public void setAccessToken(String accessToken)
accessToken - The new access token.public String getTokenType()
public void setTokenType(String tokenType)
tokenType - The token type.public Long getExpiresIn()
public void setExpiresIn(Long expiresIn)
expiresIn - The expiry.public String getRefreshToken()
public void setRefreshToken(String refreshToken)
refreshToken - The refresh token.public String getScope()
public void setScope(String scope)
scope - The scopes.public String getState()
public void setState(String state)
state - The response state.Copyright © 2018 krotscheck.net. All rights reserved.