Record Class OpenIDConfig
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.core.openid.OpenIDConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOpenIDConfig(URI tokenUri, String authorizationEndpoint, String clientId, String clientSecret, String redirectUri, URI jwksUri, String scopes, String issuer, OpenIDConfig.ClaimExtractorConfig extractorConfig) Creates an instance of aOpenIDConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationEndpointrecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextractorConfigrecord component.final inthashCode()Returns a hash code value for this object.issuer()Returns the value of theissuerrecord component.jwksUri()Returns the value of thejwksUrirecord component.Returns the value of theredirectUrirecord component.scopes()Returns the value of thescopesrecord component.tokenUri()Returns the value of thetokenUrirecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpenIDConfig
public OpenIDConfig(URI tokenUri, String authorizationEndpoint, String clientId, String clientSecret, String redirectUri, URI jwksUri, String scopes, String issuer, OpenIDConfig.ClaimExtractorConfig extractorConfig) Creates an instance of aOpenIDConfigrecord class.- Parameters:
tokenUri- the value for thetokenUrirecord componentauthorizationEndpoint- the value for theauthorizationEndpointrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentredirectUri- the value for theredirectUrirecord componentjwksUri- the value for thejwksUrirecord componentscopes- the value for thescopesrecord componentissuer- the value for theissuerrecord componentextractorConfig- the value for theextractorConfigrecord 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). -
tokenUri
Returns the value of thetokenUrirecord component.- Returns:
- the value of the
tokenUrirecord component
-
authorizationEndpoint
Returns the value of theauthorizationEndpointrecord component.- Returns:
- the value of the
authorizationEndpointrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
redirectUri
Returns the value of theredirectUrirecord component.- Returns:
- the value of the
redirectUrirecord component
-
jwksUri
Returns the value of thejwksUrirecord component.- Returns:
- the value of the
jwksUrirecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
extractorConfig
Returns the value of theextractorConfigrecord component.- Returns:
- the value of the
extractorConfigrecord component
-