public class ClientIdentifier extends Object
Constructor and Description |
---|
ClientIdentifier(String clientId,
byte[] clientSecret)
Create a new instance initialized with client id and client secret in form of byte array.
|
ClientIdentifier(String clientId,
String clientSecret)
Create a new instance initialized with client id and client secret in form of String value.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientId()
Get the client id.
|
String |
getClientSecret()
Get client secret.
|
byte[] |
getClientSecretAsByteArray()
Get client secret as byte array.
|
public ClientIdentifier(String clientId, String clientSecret)
clientId
- Client id.clientSecret
- Client secret id.public ClientIdentifier(String clientId, byte[] clientSecret)
clientId
- Client id.clientSecret
- Client secret id as a byte array value in the default encoding.public String getClientId()
public String getClientSecret()
public byte[] getClientSecretAsByteArray()
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.