Class BasicOAuthToken
- java.lang.Object
-
- org.apache.oltu.oauth2.common.token.BasicOAuthToken
-
- All Implemented Interfaces:
OAuthToken
public class BasicOAuthToken extends java.lang.Object implements OAuthToken
-
-
Constructor Summary
Constructors Constructor Description BasicOAuthToken()
BasicOAuthToken(java.lang.String accessToken)
BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn)
BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn, java.lang.String scope)
BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn, java.lang.String refreshToken, java.lang.String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessToken()
java.lang.Long
getExpiresIn()
java.lang.String
getRefreshToken()
java.lang.String
getScope()
-
-
-
Constructor Detail
-
BasicOAuthToken
public BasicOAuthToken()
-
BasicOAuthToken
public BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn, java.lang.String refreshToken, java.lang.String scope)
-
BasicOAuthToken
public BasicOAuthToken(java.lang.String accessToken)
-
BasicOAuthToken
public BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn)
-
BasicOAuthToken
public BasicOAuthToken(java.lang.String accessToken, java.lang.Long expiresIn, java.lang.String scope)
-
-
Method Detail
-
getAccessToken
public java.lang.String getAccessToken()
- Specified by:
getAccessToken
in interfaceOAuthToken
-
getExpiresIn
public java.lang.Long getExpiresIn()
- Specified by:
getExpiresIn
in interfaceOAuthToken
-
getRefreshToken
public java.lang.String getRefreshToken()
- Specified by:
getRefreshToken
in interfaceOAuthToken
-
getScope
public java.lang.String getScope()
- Specified by:
getScope
in interfaceOAuthToken
-
-