public final class ProviderContext
extends java.lang.Object
ProviderSettings,
ProviderContextHolder| Constructor and Description |
|---|
ProviderContext(ProviderSettings providerSettings,
java.util.function.Supplier<java.lang.String> issuerSupplier)
Constructs a
ProviderContext using the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIssuer()
Returns the
URL of the Provider's issuer identifier. |
ProviderSettings |
getProviderSettings()
Returns the
ProviderSettings. |
public ProviderContext(ProviderSettings providerSettings, @Nullable java.util.function.Supplier<java.lang.String> issuerSupplier)
ProviderContext using the provided parameters.providerSettings - the provider settingsissuerSupplier - a Supplier for the URL of the Provider's issuer identifierpublic ProviderSettings getProviderSettings()
ProviderSettings.ProviderSettingspublic java.lang.String getIssuer()
URL of the Provider's issuer identifier.
The issuer identifier is resolved from the constructor parameter Supplier<String>
or if not provided then defaults to ProviderSettings.getIssuer().URL of the Provider's issuer identifier