|
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 |
java.lang.Object
oracle.security.idaas.oauth.sdk.request.OAuthRestRequest
oracle.security.idaas.oauth.sdk.request.OAuthTokenRequest
oracle.security.idaas.oauth.sdk.request.ClientAssertionTokenRequest
public class ClientAssertionTokenRequest
Class dedicated to receive the Client Assertion Token request parameters.
Constructor Summary
ClientAssertionTokenRequest() Initializes a basic Client Assertion Token request without any parameters. |
ClientAssertionTokenRequest(ClientIdSecretPair clientCredentials) [CT.1] Confidential Client to use Client Secret to acquire Client Assertion Token (CT) |
ClientAssertionTokenRequest(java.util.Map<java.lang.String,java.lang.String> header, java.util.Map<java.lang.String,java.lang.String> query) Initializes the Client Assertion Token request using the given parameters. |
ClientAssertionTokenRequest(java.lang.String clientId, java.lang.String clientAssertionType, java.lang.String clientAssertion) [CT.2] Confidential Client to use client id and assertion. |
java.lang.String |
getClientAssertion() returns the Client Assertion. |
java.lang.String |
getClientAssertionType() Returns the Client Assertion type. |
ClientIdSecretPair |
getClientCredentials() Returns the client Id and =secret. |
java.lang.String |
getClientId() Returns the client_id |
boolean |
isJwtClientAssertion() Returns true if the client assertion is a JWT one. |
boolean |
isSamlClientAssertion() Returns true if the client assertion is a SAML one. |
void |
setClientAssertion(java.lang.String clientAssertion) Updates the Client assertion. |
void |
setClientAssertionType(java.lang.String clientAssertionType) Updates the Client Assertion Type. |
void |
setClientCredentials(ClientIdSecretPair clientCredentials) Updates the client id and secret. |
void |
setClientId(java.lang.String clientId) Update the client_id |
Methods inherited from class oracle.security.idaas.oauth.sdk.request.OAuthTokenRequest
getGrantType, setGrantType |
Methods inherited from class oracle.security.idaas.oauth.sdk.request.OAuthRestRequest
addHeader, addQuery, clearAll, clearHeader, clearQuery, getHeader, getHeader, getQuery, getQuery, getQueryMap, isNullOrEmpty, setHeader, setQuery |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
public ClientAssertionTokenRequest()
public ClientAssertionTokenRequest(java.util.Map<java.lang.String,java.lang.String> header, java.util.Map<java.lang.String,java.lang.String> query)
header
- name value pairs for request headerquery
- name value pairs for request querypublic ClientAssertionTokenRequest(ClientIdSecretPair clientCredentials) throws java.io.UnsupportedEncodingException, java.lang.IllegalArgumentException
clientCredentials
- client informationjava.io.UnsupportedEncodingException
- when encoding failsjava.lang.IllegalArgumentException
- when invalid parameterpublic ClientAssertionTokenRequest(java.lang.String clientId, java.lang.String clientAssertionType, java.lang.String clientAssertion) throws java.lang.IllegalArgumentException
clientId
- client identifierclientAssertionType
- accept only OAuthSdkConstants.SAML_CLIENT_ASSERTION_TYPE
or OAuthSdkConstants.JWT_CLIENT_ASSERTION_TYPE
clientAssertion
- client assertion, see also ClientAssertionTokenRequest
java.lang.IllegalArgumentException
- when invalid parameterpublic java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
clientId
- client identifierpublic ClientIdSecretPair getClientCredentials()
public void setClientCredentials(ClientIdSecretPair clientCredentials) throws java.lang.IllegalArgumentException
clientCredentials
- client informationjava.lang.IllegalArgumentException
- when invalid argument is providedpublic java.lang.String getClientAssertionType()
public void setClientAssertionType(java.lang.String clientAssertionType)
clientAssertionType
- accept only OAuthSdkConstants.SAML_CLIENT_ASSERTION_TYPE
or OAuthSdkConstants.JWT_CLIENT_ASSERTION_TYPE
public java.lang.String getClientAssertion()
public void setClientAssertion(java.lang.String clientAssertion)
clientAssertion
- client assertionpublic boolean isJwtClientAssertion()
public boolean isSamlClientAssertion()
|
Oracle and/or its affiliates. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |