public class OAuthTokenCredentials extends UsernamePasswordCredentials
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN |
static String |
CLIENT_ID |
static String |
CLIENT_SECRET |
static String |
REFRESH_TOKEN |
static String |
TOKEN_URI |
PASSWORD, USERNAME
Constructor and Description |
---|
OAuthTokenCredentials(CredentialsProvider credentialsProvider) |
OAuthTokenCredentials(CredentialsProvider credentialsProvider,
PersistentTokenTable tokenTable) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getClientID() |
String |
getClientSecret() |
String |
getRefreshToken() |
String |
getTokenUri() |
getPassword, getUsername
public static final String CLIENT_ID
public static final String CLIENT_SECRET
public static final String ACCESS_TOKEN
public static final String REFRESH_TOKEN
public static final String TOKEN_URI
public OAuthTokenCredentials(CredentialsProvider credentialsProvider)
public OAuthTokenCredentials(CredentialsProvider credentialsProvider, PersistentTokenTable tokenTable)
Copyright © 1970 The Apache Software Foundation. All rights reserved.