public interface AuthenticationClient
| Modifier and Type | Field and Description |
|---|---|
static String |
GRANT_TYPE_PASSWORD |
static String |
PARAM_GRANT_TYPE |
static String |
PARAM_PASSWORD |
static String |
PARAM_USERNAME |
static String |
PATH_OAUTH_TOKEN_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.common.OAuth2AccessToken |
getOauthToken(String username,
String password)
Get the OAuth2 Token for the user with the provided username and password.
|
static final String PATH_OAUTH_TOKEN_REQUEST
static final String PARAM_GRANT_TYPE
static final String PARAM_USERNAME
static final String PARAM_PASSWORD
static final String GRANT_TYPE_PASSWORD
org.springframework.security.oauth2.common.OAuth2AccessToken getOauthToken(String username, String password)
username - the username providedpassword - the password providedCopyright © 2015–2016 Smartrac Technology Fletcher, Inc.. All rights reserved.