Class DefaultOpenIdProviderMetadataFetcher
java.lang.Object
io.micronaut.security.oauth2.client.DefaultOpenIdProviderMetadataFetcher
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,OpenIdProviderMetadataFetcher
public class DefaultOpenIdProviderMetadataFetcher
extends Object
implements OpenIdProviderMetadataFetcher
Default implementation of
OpenIdProviderMetadataFetcher
.- Since:
- 3.9.0
- Author:
- Sergio del Amo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AOT Optimizations. -
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultOpenIdProviderMetadataFetcher
(OpenIdClientConfiguration openIdClientConfiguration, io.micronaut.http.client.HttpClient client) -
Method Summary
Modifier and TypeMethodDescription@NonNull DefaultOpenIdProviderMetadata
fetch()
It fetches Authorization Server OpenID metadata from a remote server.@NonNull String
getName()
-
Field Details
-
OPTIMIZATIONS
-
-
Constructor Details
-
DefaultOpenIdProviderMetadataFetcher
public DefaultOpenIdProviderMetadataFetcher(OpenIdClientConfiguration openIdClientConfiguration, @Client io.micronaut.http.client.HttpClient client) - Parameters:
openIdClientConfiguration
- OpenID Client Configurationclient
- HTTP Client
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
fetch
Description copied from interface:OpenIdProviderMetadataFetcher
It fetches Authorization Server OpenID metadata from a remote server.- Specified by:
fetch
in interfaceOpenIdProviderMetadataFetcher
- Returns:
- OpenID Provider Metadata
-