Class OpenIdProviderMetadataFetcherFactory
java.lang.Object
io.micronaut.security.oauth2.client.OpenIdProviderMetadataFetcherFactory
- Since:
- 3.9.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull OpenIdProviderMetadataFetcher
createOpenIdProviderMetadataFetcher
(OpenIdClientConfiguration openIdClientConfiguration, io.micronaut.http.client.HttpClient issuerClient) Retrieves OpenID configuration from the provided issuer.
-
Constructor Details
-
OpenIdProviderMetadataFetcherFactory
public OpenIdProviderMetadataFetcherFactory()
-
-
Method Details
-
createOpenIdProviderMetadataFetcher
@EachBean(OpenIdClientConfiguration.class) @Singleton @NonNull public @NonNull OpenIdProviderMetadataFetcher createOpenIdProviderMetadataFetcher(@Parameter OpenIdClientConfiguration openIdClientConfiguration, @Client io.micronaut.http.client.HttpClient issuerClient) Retrieves OpenID configuration from the provided issuer.- Parameters:
openIdClientConfiguration
- The openid client configurationissuerClient
- The client to request the metadata- Returns:
- The OpenID Provider Metadata Fetcher
-