|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizationCodeDataProvider
AuthorizationCodeDataProvider is the OAuthDataProvider which
can additionally persist the authorization code grant information
| Method Summary | |
|---|---|
ServerAuthorizationCodeGrant |
createCodeGrant(AuthorizationCodeRegistration reg)
Creates a temporarily code grant which will capture the information about the Client requesting the access to
the resource owner's resources |
ServerAuthorizationCodeGrant |
removeCodeGrant(String code)
Returns the previously registered ServerAuthorizationCodeGrant |
| Methods inherited from interface org.apache.cxf.rs.security.oauth2.provider.OAuthDataProvider |
|---|
convertScopeToPermissions, createAccessToken, getAccessToken, getClient, getPreauthorizedToken, refreshAccessToken, removeAccessToken, revokeToken |
| Method Detail |
|---|
ServerAuthorizationCodeGrant createCodeGrant(AuthorizationCodeRegistration reg)
throws OAuthServiceException
Client requesting the access to
the resource owner's resources
reg - information about the client code grant request
OAuthServiceExceptionAuthorizationCodeRegistration,
ServerAuthorizationCodeGrant
ServerAuthorizationCodeGrant removeCodeGrant(String code)
throws OAuthServiceException
ServerAuthorizationCodeGrant
code - the code grant
OAuthServiceException - if no grant with this code is availableServerAuthorizationCodeGrant
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||