Methods
(static) getAddEmailIdentityFlow() → {AddEmailIdentityFlow}
Return a AddEmailIdentityFlow
Returns:
- Type
- AddEmailIdentityFlow
(static) getAddGenericIdentityFlow() → {AddGenericIdentityFlow}
Return a AddGenericIdentityFlow
Returns:
(static) getAddOAuthIdentityFlow() → {AddOAuthIdentityFlow}
Return a AddOAuthIdentityFlow
Returns:
- Type
- AddOAuthIdentityFlow
(static) setAccessToken(accessToken) → {LoginBuilder}
Set the access token
Parameters:
Name | Type | Description |
---|---|---|
accessToken |
string | The access token |
Returns:
the same instance
- Type
- LoginBuilder
(static) setConfirmToken(confirmToken) → {LoginBuilder}
Set the confirm token
Parameters:
Name | Type | Description |
---|---|---|
confirmToken |
string | The confirm token |
Returns:
the same instance
- Type
- LoginBuilder
(static) setEmail(email) → {LoginBuilder}
Set the email
Parameters:
Name | Type | Description |
---|---|---|
email |
string | The email |
Returns:
the same instance
- Type
- LoginBuilder
(static) setOAuthProvider(oauthProvideer) → {LoginBuilder}
Set the oauth provider
Parameters:
Name | Type | Description |
---|---|---|
oauthProvideer |
string | The oauth provider |
Returns:
the same instance
- Type
- LoginBuilder
(static) setOnFlowCompleteCallback(onFlowCompletecallback) → {LoginBuilder}
Set the callback called after the flow is completed
Parameters:
Name | Type | Description |
---|---|---|
onFlowCompletecallback |
FlowCompleteCallback | The callback |
Returns:
the same instance
- Type
- LoginBuilder
(static) setPassword(password) → {LoginBuilder}
Set the password
Parameters:
Name | Type | Description |
---|---|---|
password |
string | The password |
Returns:
the same instance
- Type
- LoginBuilder
(static) setSMSTemplate(smsTemplate) → {LoginBuilder}
Set the sms template
Parameters:
Name | Type | Description |
---|---|---|
smsTemplate |
string | The SMS template |
Returns:
the same instance
- Type
- LoginBuilder
(static) setUsername(username) → {LoginBuilder}
Set the username
Parameters:
Name | Type | Description |
---|---|---|
username |
string | The username |
Returns:
the same instance
- Type
- LoginBuilder