|
Oracle Fusion Middleware Java API Reference for the Oracle Access Management OAuth Service 11g Release 2 Patch Set 3 (11.1.2.3) E59498-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OAuthClient
Client interface to the OAuth server.
It defines 3 main methods:
The createToken() method is using a request/response pair. For any class extending OAuthTokenRequest
:
OAuthTokenResponse
for any class extending OAuthTokenRequest
. The response class name shall be build by replacing the word "request" in the package name by "response" and the trailing "Request" by "Response" from the request class name.Method Summary
OAuthTokenResponse |
createToken(OAuthTokenRequest request) Returns a formated response including the token information or an error. |
RevocationResponse |
terminateToken(RevocationRequest request) Terminates a Token and returns the result. |
AccessTokenValidationResponse |
validateToken(AccessTokenValidationRequest request) Returns a formated response including the token validation or an error. |
Method Detail
OAuthTokenResponse createToken(OAuthTokenRequest request) throws OAuthSdkException
request
- containing the header and data informationOAuthSdkException
- in case of failureAccessTokenValidationResponse validateToken(AccessTokenValidationRequest request) throws OAuthSdkException
request
- containing the header and data informationOAuthSdkException
- in case of failureRevocationResponse terminateToken(RevocationRequest request) throws OAuthSdkException
request
- contains the revocation token informationOAuthSdkException
- in case of failure
|
Oracle and/or its affiliates. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |