Record Class WwwAuthenticateChallenge
java.lang.Object
java.lang.Record
io.micronaut.security.authentication.WwwAuthenticateChallenge
- Record Components:
authScheme- Authentication SchemaauthParameters- Authentication Parameters
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWwwAuthenticateChallenge(@NonNull String authScheme, @NonNull Map<String, Object> authParameters) Creates an instance of aWwwAuthenticateChallengerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthParametersrecord component.@NonNull StringReturns the value of theauthSchemerecord component.static @NonNull WwwAuthenticateChallenge.Builderbuilder()Create a new builder.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WwwAuthenticateChallenge
public WwwAuthenticateChallenge(@NonNull String authScheme, @NonNull Map<String, Object> authParameters) Creates an instance of aWwwAuthenticateChallengerecord class.- Parameters:
authScheme- the value for theauthSchemerecord componentauthParameters- the value for theauthParametersrecord component
-
-
Method Details
-
toString
-
builder
Create a new builder.- Returns:
- Builder
-
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). -
authScheme
Returns the value of theauthSchemerecord component.- Returns:
- the value of the
authSchemerecord component
-
authParameters
Returns the value of theauthParametersrecord component.- Returns:
- the value of the
authParametersrecord component
-