Class OpenIDConnectClientConfiguration.Builder<T extends OpenIDConnectClientConfiguration.Builder<T,​C>,​C extends OAuth2ClientConfiguration>

    • Method Detail

      • withWellKnownEndpoint

        public T withWellKnownEndpoint​(String wellKnownEndpoint)
        Set the wellKnownEndpoint.
        Parameters:
        wellKnownEndpoint - well-known url.
        Returns:
        Builder
      • withKeyAlias

        public T withKeyAlias​(String keyAlias)
        Set the keyAlias.
        Parameters:
        keyAlias - the name under which the key is stored in the trust store.
        Returns:
        Builder
      • withJwk

        public T withJwk​(String jwkSetEndpoint)
        Set the JWK Set URL Endpoint.
        Parameters:
        jwkSetEndpoint - the URL of the configuration to use to generate the resolver.
        Returns:
        Builder
      • withKeystoreLocation

        public T withKeystoreLocation​(String keystoreLocation)
        Set the keystoreLocation.
        Parameters:
        keystoreLocation - the location of the trust store file.
        Returns:
        Builder
      • withKeystorePassword

        public T withKeystorePassword​(String keystorePassword)
        Set the keystorePassword.
        Parameters:
        keystorePassword - the password to the keystore.
        Returns:
        Builder
      • withKeystoreType

        public T withKeystoreType​(String keystoreType)
        Set the keystoreType.
        Parameters:
        keystoreType - the type of keystore to which the location param points.
        Returns:
        Builder
      • withIssuer

        public T withIssuer​(String issuer)
        Set the issuer.
        Parameters:
        issuer - issuer's name - the OpenID Connect "iss" field.
        Returns:
        Builder