| Package | Description |
|---|---|
| org.apache.shindig.social.core.oauth2 |
Implementation of OAuth 2.0.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2Code |
OAuth2ServiceImpl.generateAccessToken(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.generateAccessToken(OAuth2NormalizedRequest req)
Generates an access token from a client OAuth 2.0 request.
|
OAuth2Code |
OAuth2ServiceImpl.generateAuthorizationCode(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.generateAuthorizationCode(OAuth2NormalizedRequest req)
Generates an authorization code from a client OAuth 2.0 request.
|
OAuth2Code |
OAuth2ServiceImpl.generateRefreshToken(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.generateRefreshToken(OAuth2NormalizedRequest req)
Generates a refresh token from a client OAuth 2.0 request.
|
OAuth2Code |
OAuth2DataServiceImpl.getAccessToken(String accessToken) |
OAuth2Code |
OAuth2DataService.getAccessToken(String accessToken)
Retrieves an access token by its value.
|
OAuth2Code |
OAuth2DataServiceImpl.getAuthorizationCode(String clientId,
String authCode) |
OAuth2Code |
OAuth2DataService.getAuthorizationCode(String clientId,
String authCode)
Retrieves an authorization code by its value.
|
OAuth2Code |
OAuth2DataServiceImpl.getRefreshToken(String refreshToken) |
OAuth2Code |
OAuth2DataService.getRefreshToken(String refreshToken)
Retrieves a refresh token by its value.
|
OAuth2Code |
OAuth2Code.getRelatedAccessToken()
Gets the related access token.
|
OAuth2Code |
OAuth2Code.getRelatedAuthCode()
Returns the authorization code related to this code.
|
OAuth2Code |
OAuth2Code.getRelatedRefreshToken()
Gets the related refresh token.
|
OAuth2Code |
OAuth2ServiceImpl.grantAccessToken(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.grantAccessToken(OAuth2NormalizedRequest req)
Grants an access token to the given client by generating and registering
the access token.
|
OAuth2Code |
OAuth2ServiceImpl.grantAuthorizationCode(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.grantAuthorizationCode(OAuth2NormalizedRequest req)
Grants an authorization code to the given client by generating and
registering the code.
|
OAuth2Code |
OAuth2ServiceImpl.grantRefreshToken(OAuth2NormalizedRequest req) |
OAuth2Code |
OAuth2Service.grantRefreshToken(OAuth2NormalizedRequest req)
Grants a refresh token to the given client by generating and registering
the refresh token.
|
| Modifier and Type | Method and Description |
|---|---|
int |
OAuth2Code.compareTo(OAuth2Code target)
Compares this code to another code.
|
void |
OAuth2DataServiceImpl.registerAccessToken(String clientId,
OAuth2Code accessToken) |
void |
OAuth2DataService.registerAccessToken(String clientId,
OAuth2Code accessToken)
Registers an access token with a client.
|
void |
OAuth2DataServiceImpl.registerAuthorizationCode(String clientId,
OAuth2Code authCode) |
void |
OAuth2DataService.registerAuthorizationCode(String clientId,
OAuth2Code authCode)
Registers an authorization code with a client.
|
void |
OAuth2DataServiceImpl.registerRefreshToken(String clientId,
OAuth2Code refreshToken) |
void |
OAuth2DataService.registerRefreshToken(String clientId,
OAuth2Code refreshToken)
Registers a refresh token with a client.
|
void |
OAuth2Code.setRelatedAccessToken(OAuth2Code relatedAccessToken)
Sets the related access token.
|
void |
OAuth2Code.setRelatedAuthCode(OAuth2Code code)
Sets the authorization code that this code is related to, if applicable.
|
void |
OAuth2Code.setRelatedRefreshToken(OAuth2Code relatedRefreshToken)
Sets the related refresh token.
|
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.