Record Class OAuth2BearerTokenVerifier.TrustedIssuer
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.modules.authentication.implementations.OAuth2BearerTokenVerifier.TrustedIssuer
- Enclosing class:
OAuth2BearerTokenVerifier
public static record OAuth2BearerTokenVerifier.TrustedIssuer(String issuer, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> keySource)
extends Record
An issuer this app trusts: its exact `iss` value, its keys, and the client
ids (audiences) accepted from it.
-
Constructor Summary
ConstructorsConstructorDescriptionTrustedIssuer(String issuer, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> keySource) Creates an instance of aTrustedIssuerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> Returns the value of thekeySourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TrustedIssuer
public TrustedIssuer(String issuer, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> keySource) Creates an instance of aTrustedIssuerrecord class.- Parameters:
issuer- the value for theissuerrecord componentkeySource- the value for thekeySourcerecord 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
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
keySource
public com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> keySource()Returns the value of thekeySourcerecord component.- Returns:
- the value of the
keySourcerecord component
-