Record Class OidcDiscoveryDocument
java.lang.Object
java.lang.Record
io.fluxzero.idp.client.OidcDiscoveryDocument
- Record Components:
issuer- issuer advertised by the tenant- endpoint used to start authorization-code flowtokenEndpoint- endpoint used to exchange authorization codesjwksUri- endpoint containing signing keysuserInfoEndpoint- userinfo endpoint when advertisedendSessionEndpoint- logout endpoint when advertisedjson- complete discovery document
public record OidcDiscoveryDocument(String issuer, String authorizationEndpoint, String tokenEndpoint, String jwksUri, String userInfoEndpoint, String endSessionEndpoint, com.fasterxml.jackson.databind.JsonNode json)
extends Record
OIDC discovery metadata used by Fluxzero application authentication helpers.
The typed fields cover the endpoints that Fluxzero applications need for the BFF flow. The raw JSON is retained so applications or future client code can read provider-specific metadata without changing this record first.
-
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.issuer()Returns the value of theissuerrecord component.com.fasterxml.jackson.databind.JsonNodejson()Returns the value of thejsonrecord component.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
-
OidcDiscoveryDocument
public OidcDiscoveryDocument(String issuer, String authorizationEndpoint, String tokenEndpoint, String jwksUri, String userInfoEndpoint, String endSessionEndpoint, com.fasterxml.jackson.databind.JsonNode json) Creates an instance of aOidcDiscoveryDocumentrecord class.- Parameters:
issuer- the value for theissuerrecord componentauthorizationEndpoint- the value for theauthorizationEndpointrecord componenttokenEndpoint- the value for thetokenEndpointrecord componentjwksUri- the value for thejwksUrirecord componentuserInfoEndpoint- the value for theuserInfoEndpointrecord componentendSessionEndpoint- the value for theendSessionEndpointrecord componentjson- the value for thejsonrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
issuer
-
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
-
jwksUri
-
userInfoEndpoint
Returns the value of theuserInfoEndpointrecord component.- Returns:
- the value of the
userInfoEndpointrecord component
-
endSessionEndpoint
Returns the value of theendSessionEndpointrecord component.- Returns:
- the value of the
endSessionEndpointrecord component
-
json
-