Package io.quarkus.oidc.runtime
Record Class TenantConfigContextImpl.Credentials
java.lang.Object
java.lang.Record
io.quarkus.oidc.runtime.TenantConfigContextImpl.Credentials
- Enclosing class:
TenantConfigContextImpl
-
Constructor Summary
ConstructorsConstructorDescriptionCredentials(SecretKey stateCookieEncryptionKey, SecretKey sessionCookieEncryptionKey, SecretKey internalIdTokenSigningKey, Key tokenDecryptionKey) Creates an instance of aCredentialsrecord 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.Returns the value of theinternalIdTokenSigningKeyrecord component.Returns the value of thesessionCookieEncryptionKeyrecord component.Returns the value of thestateCookieEncryptionKeyrecord component.Returns the value of thetokenDecryptionKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Credentials
Credentials(SecretKey stateCookieEncryptionKey, SecretKey sessionCookieEncryptionKey, SecretKey internalIdTokenSigningKey, Key tokenDecryptionKey) Creates an instance of aCredentialsrecord class.- Parameters:
stateCookieEncryptionKey- the value for thestateCookieEncryptionKeyrecord componentsessionCookieEncryptionKey- the value for thesessionCookieEncryptionKeyrecord componentinternalIdTokenSigningKey- the value for theinternalIdTokenSigningKeyrecord componenttokenDecryptionKey- the value for thetokenDecryptionKeyrecord 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). -
stateCookieEncryptionKey
Returns the value of thestateCookieEncryptionKeyrecord component.- Returns:
- the value of the
stateCookieEncryptionKeyrecord component
-
sessionCookieEncryptionKey
Returns the value of thesessionCookieEncryptionKeyrecord component.- Returns:
- the value of the
sessionCookieEncryptionKeyrecord component
-
internalIdTokenSigningKey
Returns the value of theinternalIdTokenSigningKeyrecord component.- Returns:
- the value of the
internalIdTokenSigningKeyrecord component
-
tokenDecryptionKey
Returns the value of thetokenDecryptionKeyrecord component.- Returns:
- the value of the
tokenDecryptionKeyrecord component
-