public class DefaultProviderJwtDecoderRegistry extends java.lang.Object implements ProviderJwtDecoderRegistry
ProviderJwtDecoderRegistry
that associates
a JwtDecoder
to a ProviderMetadata
. The ProviderMetadata
is matched against the providerIdentifier
parameter passed to getJwtDecoder(String)
.Constructor and Description |
---|
DefaultProviderJwtDecoderRegistry(java.util.Map<ProviderMetadata,JwtDecoder> jwtDecoders) |
Modifier and Type | Method and Description |
---|---|
JwtDecoder |
getJwtDecoder(java.lang.String providerIdentifier) |
public DefaultProviderJwtDecoderRegistry(java.util.Map<ProviderMetadata,JwtDecoder> jwtDecoders)
public JwtDecoder getJwtDecoder(java.lang.String providerIdentifier)
getJwtDecoder
in interface ProviderJwtDecoderRegistry