Plugin : Authentication
Author:Rex.Rainbow
- Authentication which is provided by firebase. https://www.firebase.com/
Download
Properties
Domain
- The root location of the Firebase data. Deprecated in firebase3.x.
Actions
Anonymous
Action:Login
- Login with anonymous.
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
Authentication provider
Action:Login
- Login by authentication provider.
- Provider ( Combo ) : Authentication provider
- Options : ["Facebook","Twitter","Github","Google"]
- Type ( Combo ) : Type of login window
- Options : ["popup","redirect"]
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
- scope ( string ) : A comma-delimited list of requested extended permissions
Action:Login (provider name)
- Login by authentication provider.
- Provider ( string ) : Code of authentication provider.
- Type ( Combo ) : Type of login window
- Options : ["popup","redirect"]
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
- scope ( string ) : A comma-delimited list of requested extended permissions
Authentication token
Action:Login
- Login with authentication token.
- Token ( string ) : Token
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
Authentication with token
Action:Connect Facebook
- Authentication with Facebook access token, call it after facebook login.
- Access token ( string ) : Access token from other plugin. Set "" if using official facebook to login.
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
- scope ( string ) : A comma-delimited list of requested extended permissions
Email & Password
Action:Create account
- Create account with email & password.
- Email ( string ) : User email
- Password ( string ) : User password
Action:Login
- Login with email & password.
- Email ( string ) : User email
- Password ( string ) : User password
- Remember ( Combo ) : Persisting type
- Options : ["default","sessionOnly","never"]
Action:Change password
- Change password of current user.
- Email ( string ) : (2.x) User email
- Old password ( string ) : (2.x) Old password
- New password ( string ) : New password
Action:Send password reset email
- Send password reset email
- Email ( string ) : User email
Action:Delete user
- Delete current user.
- Email ( string ) : (2.x) User email
- Password ( string ) : (2.x) User password
Action:Update profile
- Update profile. 3.x only.
- Display name ( string ) : Display name of current user.
- Photo URL ( string ) : Photo URL of current user
Action:Update email
- Update email. 3.x only.
- Email ( string ) : User email
Action:Send verification email
- Send verification email. 3.x only.
General
Action:Logging out
- Logging out current account.
Link multiple auth providers
Action:Link to facebook
- Link to facebook account by access token.
- Access token ( string ) : Access token from other plugin. Set "" if using official facebook to login.
Action:Link to google
- Link to google account by ID token.
- ID token ( string ) : ID token from other plugin.
Action:Link to email-password
- Link to email-password.
- Email ( string ) : User email
- Password ( string ) : User password
Online
Action:Go offline
- Manually disconnect the Firebase client from the server and disable automatic reconnection.
Action:Go online
- Manually reestablish a connection to the Firebase server and enable automatic reconnection.
Expressions
Error
Expression:ErrorCode
Expression:ErrorMessage
Expression:ErrorDetail
General auth data
Expression:UserID
- Unique user ID, intended as the user's unique key across all providers.
Expression:Provider
- The authentication method used.
Expression:DisplayName
Expression:UserIDFromProvider
Expression:AccessToken
- The FOAuth 2.0 access token granted by provider during user authentication.
Expression:Email
- The user's primary email address as listed on their profile. Returned only if a valid email address is available, and the email permission was granted by the user.
Expression:PhotoURL
Conditions
Anonymous
Condition:Is anonymous
- Return true if current user is anonymous.
Email & Password - change password
Condition:On changed password
- Triggered when changed password success.
Condition:On changed password error
- Triggered when changed password error.
Email & Password - create account
Condition:On created account
- Triggered when created account success.
Condition:On created account error
- Triggered when created account error.
Email & Password - delete user
Condition:On deleted user
- Triggered when deleted user success.
Condition:On deleted user error
- Triggered when deleted user error.
Email & Password - send password reset email
Condition:On sent password reset email
- Triggered when sent password reset email success.
Condition:On sent password reset email error
- Triggered when sent password reset email error.
Email & Password - send verification email
Condition:On send verification email
- Triggered when send verification email success.
Condition:On send verification email error
- Triggered when send verification email error.
Email & Password - update email
Condition:On updated email
- Triggered when updated email success.
Condition:On updated email error
- Triggered when updated email error.
Email & Password - update profile
Condition:On updated profile
- Triggered when updated profile success.
Condition:On updated profile error
- Triggered when updated profile error.
General - logged out
Condition:On logged out
- Triggered when logged out.
Condition:On logged out by other app
- Triggered when logged out by other app.
General - login
Condition:On login
- Triggered when login success.
Condition:On login error
- Triggered when login error.
Condition:Is login
- Return true if logging now.
Condition:On login by other app
- Triggered when login by other app.
Link multiple auth providers
Condition:On link
- Triggered when link success.
Condition:On link error
- Triggered when link error.