public static class DefaultOpenIdProviderMetadataFetcher.Optimizations
extends java.lang.Object
Constructor and Description |
---|
Optimizations(java.util.Map<java.lang.String,java.util.function.Supplier<DefaultOpenIdProviderMetadata>> suppliers) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.function.Supplier<DefaultOpenIdProviderMetadata>> |
findMetadata(java.lang.String name) |
public Optimizations(java.util.Map<java.lang.String,java.util.function.Supplier<DefaultOpenIdProviderMetadata>> suppliers)
suppliers
- Map with key being the OpenID Name qualifier andpublic java.util.Optional<java.util.function.Supplier<DefaultOpenIdProviderMetadata>> findMetadata(java.lang.String name)
name
- name qualifierDefaultOpenIdProviderMetadata
supplier or empty optional if not found for the given name qualifier.