ActiveGridAuthenticator class
Class for handling authentication related methods for ActiveGrid
Constructors
- ActiveGridAuthenticator({ActiveGridOptions options = const ActiveGridOptions()})
-
Create a new ActiveGridAuthenticator
options is used to get the
ActiveGridEnvironment.authRealm
for the_uri
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → String?
-
If there is a authenticated User this will return the authentication header
no setter
- options → ActiveGridOptions
-
ActiveGridOptions used for getting the correct
ActiveGridEnvironment.authRealm
and checking if authentication should automatically be handledfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testAuthenticator ↔ Authenticator?
-
Override the
Authenticator
for testing purposesgetter/setter pair
Methods
-
authenticate(
) → Future< Credential?> - Open the Authentication Webpage
-
checkAuthentication(
) → Future< void> - Checks the authentication status and performs actions depending on the status
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAuthClient(
Client client) → void -
Override the
Client
for testing purposes -
setToken(
TokenResponse token) → void - Override the token for testing purposes
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited