Record Class CurrentUserResponse.AuthenticationContext
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.CurrentUserResponse.AuthenticationContext
- Enclosing class:
CurrentUserResponse
public static record CurrentUserResponse.AuthenticationContext(String subjectType, String applicationId, String clientId, String sessionId, String workspaceId, boolean workspaceSelectionRequired, String organizationId, String organizationSlug, String organizationRole, Instant authTime, List<String> authenticationMethods, String assuranceLevel, CurrentUserResponse.Impersonation impersonation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationContext(String subjectType, String applicationId, String clientId, String sessionId, String workspaceId, boolean workspaceSelectionRequired, String organizationId, String organizationSlug, String organizationRole, Instant authTime, List<String> authenticationMethods, String assuranceLevel, CurrentUserResponse.Impersonation impersonation) Creates an instance of aAuthenticationContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationIdrecord component.Returns the value of theassuranceLevelrecord component.Returns the value of theauthenticationMethodsrecord component.authTime()Returns the value of theauthTimerecord component.clientId()Returns the value of theclientIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimpersonationrecord component.Returns the value of theorganizationIdrecord component.Returns the value of theorganizationRolerecord component.Returns the value of theorganizationSlugrecord component.Returns the value of thesessionIdrecord component.Returns the value of thesubjectTyperecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkspaceIdrecord component.booleanReturns the value of theworkspaceSelectionRequiredrecord component.
-
Constructor Details
-
AuthenticationContext
public AuthenticationContext(String subjectType, String applicationId, String clientId, String sessionId, String workspaceId, boolean workspaceSelectionRequired, String organizationId, String organizationSlug, String organizationRole, Instant authTime, List<String> authenticationMethods, String assuranceLevel, CurrentUserResponse.Impersonation impersonation) Creates an instance of aAuthenticationContextrecord class.- Parameters:
subjectType- the value for thesubjectTyperecord componentapplicationId- the value for theapplicationIdrecord componentclientId- the value for theclientIdrecord componentsessionId- the value for thesessionIdrecord componentworkspaceId- the value for theworkspaceIdrecord componentworkspaceSelectionRequired- the value for theworkspaceSelectionRequiredrecord componentorganizationId- the value for theorganizationIdrecord componentorganizationSlug- the value for theorganizationSlugrecord componentorganizationRole- the value for theorganizationRolerecord componentauthTime- the value for theauthTimerecord componentauthenticationMethods- the value for theauthenticationMethodsrecord componentassuranceLevel- the value for theassuranceLevelrecord componentimpersonation- the value for theimpersonationrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
subjectType
Returns the value of thesubjectTyperecord component.- Returns:
- the value of the
subjectTyperecord component
-
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
workspaceId
Returns the value of theworkspaceIdrecord component.- Returns:
- the value of the
workspaceIdrecord component
-
workspaceSelectionRequired
public boolean workspaceSelectionRequired()Returns the value of theworkspaceSelectionRequiredrecord component.- Returns:
- the value of the
workspaceSelectionRequiredrecord component
-
organizationId
Returns the value of theorganizationIdrecord component.- Returns:
- the value of the
organizationIdrecord component
-
organizationSlug
Returns the value of theorganizationSlugrecord component.- Returns:
- the value of the
organizationSlugrecord component
-
organizationRole
Returns the value of theorganizationRolerecord component.- Returns:
- the value of the
organizationRolerecord component
-
authTime
Returns the value of theauthTimerecord component.- Returns:
- the value of the
authTimerecord component
-
authenticationMethods
-
assuranceLevel
Returns the value of theassuranceLevelrecord component.- Returns:
- the value of the
assuranceLevelrecord component
-
impersonation
Returns the value of theimpersonationrecord component.- Returns:
- the value of the
impersonationrecord component
-