SnapchatLoginkitWeb class

A web implementation of the SnapchatLoginkitPlatform of the SnapchatLoginkit plugin.

Inheritance

Constructors

SnapchatLoginkitWeb()
Constructs a SnapchatLoginkitWeb

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

addLoginStateCallback() → void
Subscribe for login updates
inherited
fetchAccessToken() Future<TokenResponse>
Fetch access token after successfully logged in
inherited
fetchUserData(UserDataQuery query) Future<UserResponse>
Asynchronously Call the fetch API and get the User data
inherited
getMethodChannel() MethodChannel
Get instance of method channel class
inherited
getPlatformVersion() Future<String?>
Returns a String containing the version of the platform.
override
hasAccessToScope(String scope) Future<bool>
To check whether a specific scope has access or not
inherited
isUserLoggedIn() Future<bool>
Query user’s logged-in state
inherited
login() → void
Start login
inherited
loginWithFirebase() Future<TokenResponse>
Asynchronously, get access token via login with firebase
inherited
logout() → void
Clear the access and refresh token locally
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLoginStateCallback() → void
Unsubscribe from login updates
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void