Class OpenIdConnectLogin


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

      • OpenIdConnectLogin

        public OpenIdConnectLogin()
    • Method Detail

      • nameClaimType

        public String nameClaimType()
        Get the nameClaimType property: The name of the claim that contains the users name.
        Returns:
        the nameClaimType value.
      • withNameClaimType

        public OpenIdConnectLogin withNameClaimType​(String nameClaimType)
        Set the nameClaimType property: The name of the claim that contains the users name.
        Parameters:
        nameClaimType - the nameClaimType value to set.
        Returns:
        the OpenIdConnectLogin object itself.
      • scopes

        public List<String> scopes()
        Get the scopes property: A list of the scopes that should be requested while authenticating.
        Returns:
        the scopes value.
      • withScopes

        public OpenIdConnectLogin withScopes​(List<String> scopes)
        Set the scopes property: A list of the scopes that should be requested while authenticating.
        Parameters:
        scopes - the scopes value to set.
        Returns:
        the OpenIdConnectLogin object itself.
      • validate

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