IdentityBuilder

IdentityBuilder

(private) new IdentityBuilder()

Source:

Methods

(static) getAddEmailIdentityFlow() → {AddEmailIdentityFlow}

Return a AddEmailIdentityFlow
Source:
Returns:
Type
AddEmailIdentityFlow

(static) getAddOAuthIdentityFlow() → {AddOAuthIdentityFlow}

Return a AddOAuthIdentityFlow
Source:
Returns:
Type
AddOAuthIdentityFlow

(static) setAccessToken(accessToken) → {LoginBuilder}

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

(static) setConfirmToken(confirmToken) → {LoginBuilder}

Set the confirm token
Parameters:
Name Type Description
confirmToken string The confirm token
Source:
Returns:
the same instance
Type
LoginBuilder

(static) setEmail(email) → {LoginBuilder}

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

(static) setOAuthProvider(oauthProvideer) → {LoginBuilder}

Set the oauth provider
Parameters:
Name Type Description
oauthProvideer string The oauth provider
Source:
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
Source:
Returns:
the same instance
Type
LoginBuilder

(static) setPassword(password) → {LoginBuilder}

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