@Factory
@Internal
public class OpenIdProviderMetadataFetcherFactory
extends java.lang.Object
Constructor and Description |
---|
OpenIdProviderMetadataFetcherFactory() |
Modifier and Type | Method and Description |
---|---|
OpenIdProviderMetadataFetcher |
createOpenIdProviderMetadataFetcher(OpenIdClientConfiguration openIdClientConfiguration,
io.micronaut.http.client.HttpClient issuerClient)
Retrieves OpenID configuration from the provided issuer.
|
public OpenIdProviderMetadataFetcherFactory()
@EachBean(value=OpenIdClientConfiguration.class) @Singleton @NonNull public OpenIdProviderMetadataFetcher createOpenIdProviderMetadataFetcher(@Parameter OpenIdClientConfiguration openIdClientConfiguration, @Client io.micronaut.http.client.HttpClient issuerClient)
openIdClientConfiguration
- The openid client configurationissuerClient
- The client to request the metadata