Class OpenIdConnectRegistration


  • public final class OpenIdConnectRegistration
    extends Object
    The configuration settings of the app registration for the custom Open ID Connect provider.
    • Constructor Detail

      • OpenIdConnectRegistration

        public OpenIdConnectRegistration()
    • Method Detail

      • clientId

        public String clientId()
        Get the clientId property: The client id of the custom Open ID Connect provider.
        Returns:
        the clientId value.
      • withClientId

        public OpenIdConnectRegistration withClientId​(String clientId)
        Set the clientId property: The client id of the custom Open ID Connect provider.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the OpenIdConnectRegistration object itself.
      • clientCredential

        public OpenIdConnectClientCredential clientCredential()
        Get the clientCredential property: The authentication credentials of the custom Open ID Connect provider.
        Returns:
        the clientCredential value.
      • withClientCredential

        public OpenIdConnectRegistration withClientCredential​(OpenIdConnectClientCredential clientCredential)
        Set the clientCredential property: The authentication credentials of the custom Open ID Connect provider.
        Parameters:
        clientCredential - the clientCredential value to set.
        Returns:
        the OpenIdConnectRegistration object itself.
      • openIdConnectConfiguration

        public OpenIdConnectConfig openIdConnectConfiguration()
        Get the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.
        Returns:
        the openIdConnectConfiguration value.
      • withOpenIdConnectConfiguration

        public OpenIdConnectRegistration withOpenIdConnectConfiguration​(OpenIdConnectConfig openIdConnectConfiguration)
        Set the openIdConnectConfiguration property: The configuration settings of the endpoints used for the custom Open ID Connect provider.
        Parameters:
        openIdConnectConfiguration - the openIdConnectConfiguration value to set.
        Returns:
        the OpenIdConnectRegistration object itself.
      • validate

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