Class OpenIdConnectConfig


  • public final class OpenIdConnectConfig
    extends Object
    The configuration settings of the endpoints used for the custom Open ID Connect provider.
    • Constructor Detail

      • OpenIdConnectConfig

        public OpenIdConnectConfig()
    • Method Detail

      • authorizationEndpoint

        public String authorizationEndpoint()
        Get the authorizationEndpoint property: The endpoint to be used to make an authorization request.
        Returns:
        the authorizationEndpoint value.
      • withAuthorizationEndpoint

        public OpenIdConnectConfig withAuthorizationEndpoint​(String authorizationEndpoint)
        Set the authorizationEndpoint property: The endpoint to be used to make an authorization request.
        Parameters:
        authorizationEndpoint - the authorizationEndpoint value to set.
        Returns:
        the OpenIdConnectConfig object itself.
      • tokenEndpoint

        public String tokenEndpoint()
        Get the tokenEndpoint property: The endpoint to be used to request a token.
        Returns:
        the tokenEndpoint value.
      • withTokenEndpoint

        public OpenIdConnectConfig withTokenEndpoint​(String tokenEndpoint)
        Set the tokenEndpoint property: The endpoint to be used to request a token.
        Parameters:
        tokenEndpoint - the tokenEndpoint value to set.
        Returns:
        the OpenIdConnectConfig object itself.
      • issuer

        public String issuer()
        Get the issuer property: The endpoint that issues the token.
        Returns:
        the issuer value.
      • withIssuer

        public OpenIdConnectConfig withIssuer​(String issuer)
        Set the issuer property: The endpoint that issues the token.
        Parameters:
        issuer - the issuer value to set.
        Returns:
        the OpenIdConnectConfig object itself.
      • certificationUri

        public String certificationUri()
        Get the certificationUri property: The endpoint that provides the keys necessary to validate the token.
        Returns:
        the certificationUri value.
      • withCertificationUri

        public OpenIdConnectConfig withCertificationUri​(String certificationUri)
        Set the certificationUri property: The endpoint that provides the keys necessary to validate the token.
        Parameters:
        certificationUri - the certificationUri value to set.
        Returns:
        the OpenIdConnectConfig object itself.
      • wellKnownOpenIdConfiguration

        public String wellKnownOpenIdConfiguration()
        Get the wellKnownOpenIdConfiguration property: The endpoint that contains all the configuration endpoints for the provider.
        Returns:
        the wellKnownOpenIdConfiguration value.
      • withWellKnownOpenIdConfiguration

        public OpenIdConnectConfig withWellKnownOpenIdConfiguration​(String wellKnownOpenIdConfiguration)
        Set the wellKnownOpenIdConfiguration property: The endpoint that contains all the configuration endpoints for the provider.
        Parameters:
        wellKnownOpenIdConfiguration - the wellKnownOpenIdConfiguration value to set.
        Returns:
        the OpenIdConnectConfig object itself.
      • validate

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