Class JwksDiscovery
-
- All Implemented Interfaces:
public final class JwksDiscoveryJWKS via the issuer's OIDC discovery document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJwksDiscovery.BuilderA builder for JwksDiscovery.
-
Method Summary
Modifier and Type Method Description final Optional<String>caCertPem()Optional custom CA (PEM) for TLS verification of the JWKS fetch. final Optional<String>discoveryBase()Set when the discovery URL differs from issuer_url.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("discovery")final JsonField<String>_caCertPem()Returns the raw JSON value of caCertPem. final JsonField<String>_discoveryBase()Returns the raw JSON value of discoveryBase. final Map<String, JsonValue>_additionalProperties()final JwksDiscovery.BuildertoBuilder()final JwksDiscoveryvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JwksDiscovery.Builderbuilder()Returns a mutable builder for constructing an instance of JwksDiscovery. -
-
Method Detail
-
caCertPem
final Optional<String> caCertPem()
Optional custom CA (PEM) for TLS verification of the JWKS fetch.
-
discoveryBase
final Optional<String> discoveryBase()
Set when the discovery URL differs from
issuer_url.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("discovery")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_caCertPem
final JsonField<String> _caCertPem()
Returns the raw JSON value of caCertPem.
Unlike caCertPem, this method doesn't throw if the JSON field has an unexpected type.
-
_discoveryBase
final JsonField<String> _discoveryBase()
Returns the raw JSON value of discoveryBase.
Unlike discoveryBase, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JwksDiscovery.Builder toBuilder()
-
validate
final JwksDiscovery validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JwksDiscovery.Builder builder()
Returns a mutable builder for constructing an instance of JwksDiscovery.
-
-
-
-