Package org.jclouds.oauth.v2.domain
Class Token
- java.lang.Object
-
- org.jclouds.oauth.v2.domain.Token
-
public abstract class Token extends Object
The oauth token, obtained upon a successful token request and ready to embed in requests.
-
-
Constructor Summary
Constructors Constructor Description Token()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringaccessToken()The access token obtained from the OAuth server.static Tokencreate(String accessToken, String tokenType, long expiresIn)abstract longexpiresIn()In how many seconds this token expires.abstract StringtokenType()The type of the token, e.g.,Bearer.
-