Class OpenIdConnectClientCredential


  • public final class OpenIdConnectClientCredential
    extends Object
    The authentication client credentials of the custom Open ID Connect provider.
    • Constructor Detail

      • OpenIdConnectClientCredential

        public OpenIdConnectClientCredential()
    • Method Detail

      • method

        public ClientCredentialMethod method()
        Get the method property: The method that should be used to authenticate the user.
        Returns:
        the method value.
      • withMethod

        public OpenIdConnectClientCredential withMethod​(ClientCredentialMethod method)
        Set the method property: The method that should be used to authenticate the user.
        Parameters:
        method - the method value to set.
        Returns:
        the OpenIdConnectClientCredential object itself.
      • clientSecretSettingName

        public String clientSecretSettingName()
        Get the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.
        Returns:
        the clientSecretSettingName value.
      • withClientSecretSettingName

        public OpenIdConnectClientCredential withClientSecretSettingName​(String clientSecretSettingName)
        Set the clientSecretSettingName property: The app setting that contains the client secret for the custom Open ID Connect provider.
        Parameters:
        clientSecretSettingName - the clientSecretSettingName value to set.
        Returns:
        the OpenIdConnectClientCredential object itself.
      • validate

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