Class 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 Detail

      • ClientSecretUpdateRequest

        public ClientSecretUpdateRequest()
    • 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 -
        1. clientSecret is null.
        2. clientSecret is an empty string.
        3. The length of clientSecret exceeds 86.
        4. clientSecret contains an illegal character.