@ThreadSafe public interface TokenIdentity extends Identity
For more details on OAuth tokens, see: https://oauth.net/2/access-tokens
| Modifier and Type | Method and Description |
|---|---|
static TokenIdentity |
create(String token)
Constructs a new token object, which can be used to authorize requests to services that use token based auth
|
String |
token()
Retrieves string field representing the literal token string.
|
expirationTimeString token()
static TokenIdentity create(String token)
token - The token used to authorize requests.Copyright © 2023. All rights reserved.