|
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.ClientIdSecretPair
public class ClientIdSecretPair
Encapsulates the client ID and secret management.
Constructor Summary
ClientIdSecretPair(java.lang.String clientId, java.lang.String clientSecret)Initiates the client information using the given ID and secret. |
java.lang.String |
getClientId()Returns the client Id. |
java.lang.String |
getClientSecret()Returns the client secret. |
java.lang.String |
getCredentials()The Based64 formatted credentials corresponding to this client Id and secret. |
void |
setClientId(java.lang.String clientId)Changes the client Id and updates, when appropriated, the new credentials. |
void |
setClientSecret(java.lang.String clientSecret)Changes the client Secret and updates, when appropriated, the new credentials. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
public ClientIdSecretPair(java.lang.String clientId,
java.lang.String clientSecret)
throws java.io.UnsupportedEncodingException,
java.lang.IllegalArgumentException
clientId - client identifierclientSecret - secret of the clientjava.io.UnsupportedEncodingException - in case of base 64 encoding failurejava.lang.IllegalArgumentException - when invalid argument is providedpublic java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
throws java.io.UnsupportedEncodingException
clientId - client identifierjava.io.UnsupportedEncodingException - in case of base 64 encoding failurepublic java.lang.String getClientSecret()
public void setClientSecret(java.lang.String clientSecret)
throws java.io.UnsupportedEncodingException
clientSecret - secret of the clientjava.io.UnsupportedEncodingException - in case of base 64 encoding failurepublic java.lang.String getCredentials()
public java.lang.String toString()
toString in class java.lang.Object
|
Oracle and/or its affiliates. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||