GigyaSdk class
This class represents the Gigya SDK plugin.
Constructors
- GigyaSdk()
-
The default constructor.
const
Properties
- biometricService → BiometricService
-
Get the biometric service provided by the Gigya SDK.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- interruptionResolverFactory → InterruptionResolverFactory
-
Get the interruption resolver factory provided by the Gigya SDK.
no setter
- otpService → OtpService
-
Get the One-Time-Password service provided by the Gigya SDK.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webAuthenticationService → WebAuthenticationService
-
Get the web authentication service provided by the Gigya SDK.
no setter
Methods
-
addConnection(
SocialProvider provider) → Future< Map< String, dynamic> > - Add a social connection to an existing account.
-
dismissScreenSet(
) → Future< void> - Dismiss the currently shown screenset.
-
forgotPassword(
String loginId) → Future< Map< String, dynamic> > -
Start the forgot password flow for the given
loginId
. -
getAccount(
{bool invalidate = false, Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<Map< String, dynamic> > - Get a user account.
-
getSession(
) → Future< Map< String, dynamic> > - Get the current session.
-
initSdk(
{required String apiDomain, required String apiKey, String? cname, bool forceLogout = false}) → Future< void> -
Initialize the Gigya SDK with the given
apiKey
,apiDomain
andcname
. -
isLoggedIn(
) → Future< bool> - Check whether the user is logged in.
-
linkToSite(
{required String loginId, required String password}) → Future< Map< String, dynamic> > - Link a social account to an existing site account.
-
login(
{required String loginId, required String password, Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<Map< String, dynamic> > -
Login using the given
loginId
andpassword
combination. -
logout(
) → Future< void> - Log out of the current active session.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
{required String loginId, required String password, Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<Map< String, dynamic> > -
Register a new user using the given
loginId
andpassword
. -
removeConnection(
SocialProvider provider) → Future< Map< String, dynamic> > - Remove a social connection from an existing account.
-
send(
String endpoint, {Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<Map< String, dynamic> > - Send a request to the Gigya SDK.
-
setAccount(
Map< String, dynamic> account) → Future<Map< String, dynamic> > -
Update a given
account
. -
setSession(
{required int expiresIn, required String sessionSecret, required String sessionToken}) → Future< void> -
Set a new session with the given
expiresIn
,sessionToken
andsessionSecret
. -
showScreenSet(
String name, {Map< String, dynamic> parameters = const <String, dynamic>{}}) → Stream<ScreensetEvent> -
Show the screen set with the given
name
. -
Perform a login through the given
provider
. -
sso(
{Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<Map< String, dynamic> > - Perform a single-sign-on.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited