Package com.authlete.common.dto
Class ClientSecretUpdateRequest
- java.lang.Object
-
- com.authlete.common.dto.ClientSecretUpdateRequest
-
- All Implemented Interfaces:
Serializable
public class ClientSecretUpdateRequest extends Object implements Serializable
Request to Authlete's/api/client/secret/update
API.clientSecret
(REQUIRED)-
A new value of the client secret. Valid characters for a client secret are
A-Z
,a-z
,0-9
,-
, and_
. The maximum length of a client secret is 86.
- Since:
- 2.11
- Author:
- Takahiko Kawasaki
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientSecretUpdateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientSecret()
Get the client secret.ClientSecretUpdateRequest
setClientSecret(String clientSecret)
Set the client secret.
-
-
-
Method Detail
-
getClientSecret
public String getClientSecret()
Get the client secret.
-
setClientSecret
public ClientSecretUpdateRequest setClientSecret(String clientSecret)
Set the client secret.Valid characters for a client secret are
A-Z
,a-z
,0-9
,-
, and_
. The maximum length of a client secret is 86.- Parameters:
clientSecret
- The new value of the client secret.- Throws:
IllegalArgumentException
-clientSecret
isnull
.clientSecret
is an empty string.- The length of
clientSecret
exceeds 86. clientSecret
contains an illegal character.
-
-