Package ch.rswk.meta.engine
Record Class UserService.VerifyTokenRequest
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.VerifyTokenRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable StringThe field for theissuerrecord component.private final @Nullable SecretKeyThe field for thekeyrecord component.The field for therequiredGrantsrecord component.private final @Nullable StringThe field for therequiredSubjectrecord component.private final StringThe field for thetokenrecord component. -
Constructor Summary
Constructors -
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.@Nullable Stringissuer()Returns the value of theissuerrecord component.@Nullable SecretKeykey()Returns the value of thekeyrecord component.Returns the value of therequiredGrantsrecord component.@Nullable StringReturns the value of therequiredSubjectrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
key
The field for thekeyrecord component. -
issuer
The field for theissuerrecord component. -
requiredGrants
-
requiredSubject
The field for therequiredSubjectrecord component. -
token
The field for thetokenrecord component.
-
-
Constructor Details
-
VerifyTokenRequest
public VerifyTokenRequest(@Nullable SecretKey key, @Nullable String issuer, @Nullable Map<String, Integer> requiredGrants, @Nullable String requiredSubject, String token) Creates an instance of aVerifyTokenRequestrecord class.- Parameters:
key- the value for thekeyrecord componentissuer- the value for theissuerrecord componentrequiredGrants- the value for therequiredGrantsrecord componentrequiredSubject- the value for therequiredSubjectrecord componenttoken- the value for thetokenrecord 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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
requiredGrants
-
requiredSubject
Returns the value of therequiredSubjectrecord component.- Returns:
- the value of the
requiredSubjectrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-