Skip navigation links

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


oracle.security.idaas.oauth.sdk.response
Class ClientAssertionTokenResponse

java.lang.Object
  extended by oracle.security.idaas.oauth.sdk.response.OAuthRestResponse
      extended by oracle.security.idaas.oauth.sdk.response.OAuthTokenResponse
          extended by oracle.security.idaas.oauth.sdk.response.ClientAssertionTokenResponse


public class ClientAssertionTokenResponse
extends OAuthTokenResponse

Class handling a Client Assertion Token response.


Field Summary

  Fields inherited from class oracle.security.idaas.oauth.sdk.response.OAuthRestResponse

tok

  Constructor Summary

ClientAssertionTokenResponse(int status, java.lang.String response)
          Analyzes and formats the response as a client assertion token response.

  Method Summary

 java.lang.String getOracleClientAssertionType()
          Returns the oracle_client_assertion_type
protected  void parseResponse(java.lang.String result)
          Computes the response to extract the token information.

  Methods inherited from class oracle.security.idaas.oauth.sdk.response.OAuthTokenResponse

getAccessToken, getExpiresIn, getOracleTkContext, getRefreshToken, getTokenType

  Methods inherited from class oracle.security.idaas.oauth.sdk.response.OAuthRestResponse

getErrorMessage, getStatus, isError, setErrorMessage, toString

  Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ClientAssertionTokenResponse

public ClientAssertionTokenResponse(int status,
                                    java.lang.String response)
                             throws org.codehaus.jettison.json.JSONException
Analyzes and formats the response as a client assertion token response.
Parameters:
status - response status (200 means successful)
response - the response message if the request is successful, else the error message
Throws:
org.codehaus.jettison.json.JSONException - if at least one of the mandatory element in the response is missing, or if the response is not formatted correctly.

Method Detail

parseResponse

protected void parseResponse(java.lang.String result)
                      throws org.codehaus.jettison.json.JSONException
Computes the response to extract the token information.
Overrides:
parseResponse in class OAuthTokenResponse
Parameters:
result - string to decode
Throws:
org.codehaus.jettison.json.JSONException - if at least one of the mandatory element in the response is missing, or if the response is not formatted correctly.

getOracleClientAssertionType

public java.lang.String getOracleClientAssertionType()
Returns the oracle_client_assertion_type
Returns:
oracle_client_assertion_type

Skip navigation links

Copyright (c) 2014, 2015,
Oracle and/or its affiliates. All Rights Reserved.