Class CustomOpenIdConnectProvider


  • public final class CustomOpenIdConnectProvider
    extends Object
    The configuration settings of the custom Open ID Connect provider.
    • Constructor Detail

      • CustomOpenIdConnectProvider

        public CustomOpenIdConnectProvider()
    • Method Detail

      • enabled

        public Boolean enabled()
        Get the enabled property: <code>false</code> if the custom Open ID provider provider should not be enabled; otherwise, <code>true</code>.
        Returns:
        the enabled value.
      • withEnabled

        public CustomOpenIdConnectProvider withEnabled​(Boolean enabled)
        Set the enabled property: <code>false</code> if the custom Open ID provider provider should not be enabled; otherwise, <code>true</code>.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the CustomOpenIdConnectProvider object itself.
      • registration

        public OpenIdConnectRegistration registration()
        Get the registration property: The configuration settings of the app registration for the custom Open ID Connect provider.
        Returns:
        the registration value.
      • withRegistration

        public CustomOpenIdConnectProvider withRegistration​(OpenIdConnectRegistration registration)
        Set the registration property: The configuration settings of the app registration for the custom Open ID Connect provider.
        Parameters:
        registration - the registration value to set.
        Returns:
        the CustomOpenIdConnectProvider object itself.
      • login

        public OpenIdConnectLogin login()
        Get the login property: The configuration settings of the login flow of the custom Open ID Connect provider.
        Returns:
        the login value.
      • withLogin

        public CustomOpenIdConnectProvider withLogin​(OpenIdConnectLogin login)
        Set the login property: The configuration settings of the login flow of the custom Open ID Connect provider.
        Parameters:
        login - the login value to set.
        Returns:
        the CustomOpenIdConnectProvider object itself.
      • validate

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