AuthResponse class

Describes the client's authorization state.

Many authorization-related API calls return instances of this class. The details of which can be found on specific methods of Auth.

Constructors

AuthResponse({Session? session, MultiFactorAuthenticationInfo? mfa})

Properties

hashCode int
The hash code for this object.
no setterinherited
mfa MultiFactorAuthenticationInfo?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session Session?
final
user User?
no setter

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

fromJson(dynamic json) AuthResponse