Record Class AuthorizationCodeFlowRequest
java.lang.Object
java.lang.Record
swiss.trustbroker.oidc.client.dto.AuthorizationCodeFlowRequest
public record AuthorizationCodeFlowRequest(String clientId, List<String> scopes, List<String> acrValues, Boolean forceAuthn, String destination, String assertionConsumerUrl, String requestUri)
extends Record
Holds information on an OIDC Authorization Code Flow Request for auditing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacrValuesrecord component.Returns the value of theassertionConsumerUrlrecord component.builder()clientId()Returns the value of theclientIdrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theforceAuthnrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therequestUrirecord component.scopes()Returns the value of thescopesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthorizationCodeFlowRequest
public AuthorizationCodeFlowRequest(String clientId, List<String> scopes, List<String> acrValues, Boolean forceAuthn, String destination, String assertionConsumerUrl, String requestUri) Creates an instance of aAuthorizationCodeFlowRequestrecord class.- Parameters:
clientId- the value for theclientIdrecord componentscopes- the value for thescopesrecord componentacrValues- the value for theacrValuesrecord componentforceAuthn- the value for theforceAuthnrecord componentdestination- the value for thedestinationrecord componentassertionConsumerUrl- the value for theassertionConsumerUrlrecord componentrequestUri- the value for therequestUrirecord component
-
-
Method Details
-
builder
-
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). -
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
acrValues
Returns the value of theacrValuesrecord component.- Returns:
- the value of the
acrValuesrecord component
-
forceAuthn
Returns the value of theforceAuthnrecord component.- Returns:
- the value of the
forceAuthnrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
assertionConsumerUrl
Returns the value of theassertionConsumerUrlrecord component.- Returns:
- the value of the
assertionConsumerUrlrecord component
-
requestUri
Returns the value of therequestUrirecord component.- Returns:
- the value of the
requestUrirecord component
-