AuthHeaderItem class

Represents an item in Authorisation header

Constructors

AuthHeaderItem(String authScheme, String credentials)

Properties

authScheme String
Authorisation scheme
final
credentials String
Authorisation credentials
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAuthorizationHeader() Map<String, String>
Value returned by this function shall be added to request headers
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromHeaderBySchema(String? header, String scheme) AuthHeaderItem?
Finds Authorisation header item in the given header by given scheme