Class OidcClientContext

    • Constructor Detail

      • OidcClientContext

        public OidcClientContext()
      • OidcClientContext

        public OidcClientContext​(OidcClientConfiguration oidcClientConfig)
        Construct a new instance.
        Parameters:
        oidcClientConfig - the OpenID Connect client configuration to use
      • OidcClientContext

        public OidcClientContext​(OidcClientConfigurationResolver oidcConfigResolver)
        Construct a new instance.
        Parameters:
        oidcConfigResolver - the resolver to be used to obtain the OpenID Connect client configuration
    • Method Detail

      • resolveDeployment

        public OidcClientConfiguration resolveDeployment​(OidcHttpFacade facade)
        For single-tenant deployments, it complements KeycloakDeployment by resolving a relative Auth Server's URL based on the current request For multi-tenant deployments, defers the resolution of KeycloakDeployment to the KeycloakConfigResolver .
        Parameters:
        facade - the Request/Response Façade , used to either determine the Auth Server URL (single tenant) or pass thru to the KeycloakConfigResolver.
        Returns: