Package io.camunda.service.security.auth
Record Class Authentication
java.lang.Object
java.lang.Record
io.camunda.service.security.auth.Authentication
- All Implemented Interfaces:
FilterBase
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthenticatedGroupIdsrecord component.Returns the value of theauthenticatedTenantIdsrecord component.Returns the value of theauthenticatedUserIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Authentication
public Authentication(String authenticatedUserId, List<String> authenticatedGroupIds, List<String> authenticatedTenantIds, String token) Creates an instance of aAuthenticationrecord class.- Parameters:
authenticatedUserId- the value for theauthenticatedUserIdrecord componentauthenticatedGroupIds- the value for theauthenticatedGroupIdsrecord componentauthenticatedTenantIds- the value for theauthenticatedTenantIdsrecord componenttoken- the value for thetokenrecord 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). -
authenticatedUserId
Returns the value of theauthenticatedUserIdrecord component.- Returns:
- the value of the
authenticatedUserIdrecord component
-
authenticatedGroupIds
Returns the value of theauthenticatedGroupIdsrecord component.- Returns:
- the value of the
authenticatedGroupIdsrecord component
-
authenticatedTenantIds
Returns the value of theauthenticatedTenantIdsrecord component.- Returns:
- the value of the
authenticatedTenantIdsrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-