AngelAuthOptions<User> class
Constructors
-
AngelAuthOptions({AngelAuthCallback? callback, AngelAuthTokenCallback<
User> ? tokenCallback, bool canRespondWithJson = true, String? successRedirect, String? failureRedirect})
Properties
- callback ↔ AngelAuthCallback?
-
getter/setter pair
- canRespondWithJson ↔ bool
-
If
false
(default:true
), then successful authentication will returntrue
and allow the execution of subsequent handlers, just like any other middleware.getter/setter pair - failureRedirect ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successRedirect ↔ String?
-
getter/setter pair
-
tokenCallback
↔ AngelAuthTokenCallback<
User> ? -
getter/setter pair
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