AuthHelper class

Helpers for authentication in tests.

Properties

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

basic(String username, String password) → Map<String, String>
Creates a Basic authentication header.
bearer(String token) → Map<String, String>
Creates a Bearer token authorization header.
custom(String scheme, String credentials) → Map<String, String>
Creates a custom authorization header.