Auth class

Created by Injoit on 2019-12-27. Copyright © 2019 Quickblox. All rights reserved.

Constructors

Auth()
const

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

clearSession() → Future<void>
getSession() → Future<QBSession?>
login(String login, String password) → Future<QBLoginResult>
loginWithEmail(String email, String password) → Future<QBLoginResult>
loginWithFacebook(String token) → Future<QBLoginResult>
loginWithFirebase(String projectId, String token) → Future<QBLoginResult>
logout() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSession(QBSession qbSession) → Future<QBSession?>
startSessionWithToken(String token) → Future<QBSession?>
subscribeAuthEvent(String eventName, dynamic eventMethod, {dynamic onErrorMethod}) → Future<StreamSubscription>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CHANNEL_NAME → const String
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
CLEAR_SESSION_METHOD → const String
GET_SESSION_METHOD → const String
LOGIN_METHOD → const String
LOGIN_WITH_EMAIL_METHOD → const String
LOGIN_WITH_FACEBOOK_METHOD → const String
LOGIN_WITH_FIREBASE_METHOD → const String
LOGOUT_METHOD → const String
SET_SESSION_METHOD → const String
START_SESSION_WITH_TOKEN_METHOD → const String