Class OAuthTokenCredentials
java.lang.Object
org.apache.drill.exec.store.security.UsernamePasswordCredentials
org.apache.drill.exec.store.security.oauth.OAuthTokenCredentials
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
While a builder may seem like overkill for a class that is little more than small struct, it allows us to wrap new instances in an Optional while using contructors does not. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.apache.drill.exec.store.security.UsernamePasswordCredentials
PASSWORD, USERNAME
-
Constructor Summary
ConstructorDescriptionOAuthTokenCredentials
(String username, String password, String clientID, String clientSecret, String tokenURI, PersistentTokenTable tokenTable) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.apache.drill.exec.store.security.UsernamePasswordCredentials
equals, getPassword, getUsername, hashCode, toString
-
Field Details
-
CLIENT_ID
- See Also:
-
CLIENT_SECRET
- See Also:
-
ACCESS_TOKEN
- See Also:
-
EXPIRES_IN
- See Also:
-
REFRESH_TOKEN
- See Also:
-
TOKEN_URI
- See Also:
-
PROXY_USERNAME
- See Also:
-
PROXY_PASSWORD
- See Also:
-
-
Constructor Details
-
OAuthTokenCredentials
-
-
Method Details
-
getClientID
-
getClientSecret
-
getAccessToken
-
getRefreshToken
-
getExpiresIn
-
getTokenUri
-