Record Class OAuth2BearerTokenVerifier.ConfiguredIssuer
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.modules.authentication.implementations.OAuth2BearerTokenVerifier.ConfiguredIssuer
- Enclosing class:
OAuth2BearerTokenVerifier
public static record OAuth2BearerTokenVerifier.ConfiguredIssuer(String discoveryBaseUrl, String expectedIssuer, Set<String> audiences)
extends Record
An issuer the app is configured to trust: where to discover it, the
issuer value its tokens (and its discovery document) must carry, and
the client ids accepted from it.
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguredIssuer(String discoveryBaseUrl, String expectedIssuer, Set<String> audiences) Creates an instance of aConfiguredIssuerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaudiencesrecord component.Returns the value of thediscoveryBaseUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedIssuerrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfiguredIssuer
Creates an instance of aConfiguredIssuerrecord class.- Parameters:
discoveryBaseUrl- the value for thediscoveryBaseUrlrecord componentexpectedIssuer- the value for theexpectedIssuerrecord componentaudiences- the value for theaudiencesrecord 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). -
discoveryBaseUrl
Returns the value of thediscoveryBaseUrlrecord component.- Returns:
- the value of the
discoveryBaseUrlrecord component
-
expectedIssuer
Returns the value of theexpectedIssuerrecord component.- Returns:
- the value of the
expectedIssuerrecord component
-
audiences
-