public abstract class Token extends Object
Constructor and Description |
---|
Token() |
Modifier and Type | Method and Description |
---|---|
abstract String |
accessToken()
The access token obtained from the OAuth server.
|
static Token |
create(String accessToken,
String tokenType,
long expiresIn) |
abstract long |
expiresIn()
In how many seconds this token expires.
|
abstract String |
tokenType()
The type of the token, e.g.,
Bearer . |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.