Class AuthorizationServerSecretsContractInner


  • public final class AuthorizationServerSecretsContractInner
    extends Object
    OAuth Server Secrets Contract.
    • Constructor Detail

      • AuthorizationServerSecretsContractInner

        public AuthorizationServerSecretsContractInner()
    • Method Detail

      • clientSecret

        public String clientSecret()
        Get the clientSecret property: oAuth Authorization Server Secrets.
        Returns:
        the clientSecret value.
      • withClientSecret

        public AuthorizationServerSecretsContractInner withClientSecret​(String clientSecret)
        Set the clientSecret property: oAuth Authorization Server Secrets.
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the AuthorizationServerSecretsContractInner object itself.
      • resourceOwnerUsername

        public String resourceOwnerUsername()
        Get the resourceOwnerUsername property: Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
        Returns:
        the resourceOwnerUsername value.
      • withResourceOwnerUsername

        public AuthorizationServerSecretsContractInner withResourceOwnerUsername​(String resourceOwnerUsername)
        Set the resourceOwnerUsername property: Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
        Parameters:
        resourceOwnerUsername - the resourceOwnerUsername value to set.
        Returns:
        the AuthorizationServerSecretsContractInner object itself.
      • resourceOwnerPassword

        public String resourceOwnerPassword()
        Get the resourceOwnerPassword property: Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
        Returns:
        the resourceOwnerPassword value.
      • withResourceOwnerPassword

        public AuthorizationServerSecretsContractInner withResourceOwnerPassword​(String resourceOwnerPassword)
        Set the resourceOwnerPassword property: Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
        Parameters:
        resourceOwnerPassword - the resourceOwnerPassword value to set.
        Returns:
        the AuthorizationServerSecretsContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.