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/updateAPI.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 StringgetClientSecret()Get the client secret.ClientSecretUpdateRequestsetClientSecret(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-clientSecretisnull.clientSecretis an empty string.- The length of
clientSecretexceeds 86. clientSecretcontains an illegal character.
-
-