Methods
-
getCustomFlow() → {CustomLoginFlow}
-
Create a custom login flow.
Returns:
- Type
- CustomLoginFlow
-
setCallback(callback) → {LoginBuilder}
-
Set callback
Parameters:
Name Type Description callback
Returns:
the same instance- Type
- LoginBuilder
-
setCustomID(customID) → {LoginBuilder}
-
Set custom id. Used in custom flow.
Parameters:
Name Type Description customID
string custom user id Returns:
the same instance- Type
- LoginBuilder
-
setLoginData(loginData) → {LoginBuilder}
-
Set login data. Useful to track campaign parameters
Parameters:
Name Type Description loginData
SimpleObject the custom data for the login event Returns:
the same instance- Type
- LoginBuilder