Package | Description |
---|---|
org.springframework.social.connect.support |
ServiceProvider Connect API implementation support.
|
org.springframework.social.oauth2 |
OAuth2 client.
|
Modifier and Type | Method and Description |
---|---|
Connection<S> |
OAuth2ConnectionFactory.createConnection(AccessGrant accessGrant)
|
protected String |
OAuth2ConnectionFactory.extractProviderUserId(AccessGrant accessGrant)
Hook for extracting the providerUserId from the returned
AccessGrant , if it is available. |
Modifier and Type | Method and Description |
---|---|
AccessGrant |
OAuth2Template.authenticateClient() |
AccessGrant |
OAuth2Operations.authenticateClient()
Retrieves the client access grant using OAuth 2 client password flow.
|
AccessGrant |
OAuth2Template.authenticateClient(String scope) |
AccessGrant |
OAuth2Operations.authenticateClient(String scope)
Retrieves the client access grant using OAuth 2 client password flow.
|
protected AccessGrant |
OAuth2Template.createAccessGrant(String accessToken,
String scope,
String refreshToken,
Integer expiresIn,
Map<String,Object> response)
Creates an
AccessGrant given the response from the access token exchange with the provider. |
AccessGrant |
OAuth2Template.exchangeCredentialsForAccess(String username,
String password,
org.springframework.util.MultiValueMap<String,String> additionalParameters) |
AccessGrant |
OAuth2Operations.exchangeCredentialsForAccess(String username,
String password,
org.springframework.util.MultiValueMap<String,String> additionalParameters)
Exchanges user credentials for an access grant using OAuth2's Resource Owner Credentials Grant (aka, "password" grant).
|
AccessGrant |
OAuth2Template.exchangeForAccess(String authorizationCode,
String redirectUri,
org.springframework.util.MultiValueMap<String,String> additionalParameters) |
AccessGrant |
OAuth2Operations.exchangeForAccess(String authorizationCode,
String redirectUri,
org.springframework.util.MultiValueMap<String,String> additionalParameters)
Exchange the authorization code for an access grant.
|
protected AccessGrant |
OAuth2Template.postForAccessGrant(String accessTokenUrl,
org.springframework.util.MultiValueMap<String,String> parameters)
Posts the request for an access grant to the provider.
|
AccessGrant |
OAuth2Template.refreshAccess(String refreshToken,
org.springframework.util.MultiValueMap<String,String> additionalParameters) |
AccessGrant |
OAuth2Operations.refreshAccess(String refreshToken,
org.springframework.util.MultiValueMap<String,String> additionalParameters)
Refreshes a previous access grant.
|
AccessGrant |
OAuth2Template.refreshAccess(String refreshToken,
String scope,
org.springframework.util.MultiValueMap<String,String> additionalParameters) |
AccessGrant |
OAuth2Operations.refreshAccess(String refreshToken,
String scope,
org.springframework.util.MultiValueMap<String,String> additionalParameters)
Deprecated.
Set the scope via additional parameters. This can be done conveniently user OAuth2Parameters.
|
Copyright © 2016. All rights reserved.