AuthenticationHeader class final
A class representing the HTTP Authentication header.
Constructors
-
AuthenticationHeader({required String scheme, required List<
AuthenticationParameter> parameters}) - Constructs an AuthenticationHeader instance with the specified scheme and parameters.
- AuthenticationHeader.parse(String value)
-
Parses the Authentication header value and returns an AuthenticationHeader instance.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
parameters
→ List<
AuthenticationParameter> -
The parameters associated with the authentication scheme.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
The authentication scheme (e.g., "Basic", "Bearer", "Digest").
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
codec
→ const HeaderCodec<
AuthenticationHeader>