Package dev.relism.flash.ext.oidc
Record Class OidcProviderMetadata
java.lang.Object
java.lang.Record
dev.relism.flash.ext.oidc.OidcProviderMetadata
public record OidcProviderMetadata(String authorizationEndpoint, String tokenEndpoint, String userinfoEndpoint, String jwksUri, String endSessionEndpoint)
extends Record
OIDC provider endpoints discovered from
{issuer}/.well-known/openid-configuration.
endSessionEndpoint() may be null — not all providers expose it
(e.g. some Authelia configurations omit it).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationEndpointrecord component.Returns the value of theendSessionEndpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jwksUri()Returns the value of thejwksUrirecord component.Returns the value of thetokenEndpointrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserinfoEndpointrecord component.
-
Constructor Details
-
OidcProviderMetadata
public OidcProviderMetadata(String authorizationEndpoint, String tokenEndpoint, String userinfoEndpoint, String jwksUri, String endSessionEndpoint) Creates an instance of aOidcProviderMetadatarecord class.- Parameters:
authorizationEndpoint- the value for theauthorizationEndpointrecord componenttokenEndpoint- the value for thetokenEndpointrecord componentuserinfoEndpoint- the value for theuserinfoEndpointrecord componentjwksUri- the value for thejwksUrirecord componentendSessionEndpoint- the value for theendSessionEndpointrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
authorizationEndpoint
Returns the value of theauthorizationEndpointrecord component.- Returns:
- the value of the
authorizationEndpointrecord component
-
tokenEndpoint
Returns the value of thetokenEndpointrecord component.- Returns:
- the value of the
tokenEndpointrecord component
-
userinfoEndpoint
Returns the value of theuserinfoEndpointrecord component.- Returns:
- the value of the
userinfoEndpointrecord component
-
jwksUri
Returns the value of thejwksUrirecord component.- Returns:
- the value of the
jwksUrirecord component
-
endSessionEndpoint
Returns the value of theendSessionEndpointrecord component.- Returns:
- the value of the
endSessionEndpointrecord component
-