IdentityBuilder

IdentityBuilder

(private) new IdentityBuilder()

Source:

Methods

(static) getAddEmailIdentityFlow() → {AddEmailIdentityFlow}

Return a AddEmailIdentityFlow
Source:
Returns:
Type:
AddEmailIdentityFlow

(static) getAddGenericIdentityFlow() → {AddGenericIdentityFlow}

Return a AddGenericIdentityFlow
Source:
Returns:
Type:
AddGenericIdentityFlow

(static) getAddOAuthIdentityFlow() → {AddOAuthIdentityFlow}

Return a AddOAuthIdentityFlow
Source:
Returns:
Type:
AddOAuthIdentityFlow

(static) setAccessToken(accessToken) → {IdentityBuilder}

Set the access token
Source:
Parameters:
Name Type Description
accessToken string The access token
Returns:
Type:
IdentityBuilder
the same instance

(static) setEmail(email) → {IdentityBuilder}

Set the email
Source:
Parameters:
Name Type Description
email string The email
Returns:
Type:
IdentityBuilder
the same instance

(static) setOAuthProvider(oauthProvideer) → {IdentityBuilder}

Set the oauth provider
Source:
Parameters:
Name Type Description
oauthProvideer string The oauth provider
Returns:
Type:
IdentityBuilder
the same instance

(static) setOnFlowCompleteCallback(onFlowCompletecallback) → {IdentityBuilder}

Set the callback called after the flow is completed
Source:
Parameters:
Name Type Description
onFlowCompletecallback FlowCompleteCallback The callback
Returns:
Type:
IdentityBuilder
the same instance

(static) setPassword(password) → {IdentityBuilder}

Set the password
Source:
Parameters:
Name Type Description
password string The password
Returns:
Type:
IdentityBuilder
the same instance

(static) setProductEmailParams(params) → {IdentityBuilder}

Set Product Email template parameter
Source:
Parameters:
Name Type Description
params SimpleObject The parameters used to interpolare the template
Returns:
Type:
IdentityBuilder
the same instance

(static) setSMSTemplate(smsTemplate) → {IdentityBuilder}

Set the sms template
Source:
Parameters:
Name Type Description
smsTemplate string The SMS template
Returns:
Type:
IdentityBuilder
the same instance