Plugin : Authentication

Author:Rex.Rainbow

Download

Properties

Identity

  • Property name of identity.

Actions

Authentication provider

Action:Login by facebook

  • Login by facebook.
    • scope ( string ) : A comma-delimited list of requested extended permissions

Action:Login by facebook SDK

  • Login by facebook SDK.

Action:Login by twitter

  • Login by twitter.

General

Action:Logging out

  • Logging out current account.

Session

Action:Test session

  • Test if current session is valid.

User data

Action:Set value

  • Set value into current item.
    • Key ( string ) : The name of the key.
    • Value ( number or string ) : The value to set, could be number or string.

Action:Set boolean value

  • Set boolean value into current item.
    • Key ( string ) : The name of the key.
    • Boolean ( Combo ) : Boolean value.
      • Options : ["False","True"]

Action:Update

  • Update user data.

UserID & Password

Action:Create account

  • Create account with UserID & password.
    • UserID ( string ) : UserID.
    • Password ( string ) : User password

Action:Login

  • Login with UserID & password.
    • UserID ( string ) : UserID.
    • Password ( string ) : User password.
    • Stay logged-in ( Combo ) : Stay logged-in.
      • Options : ["No","Yes"]

Action:Sending password reset email

  • Sending password reset email
    • Email ( string ) : Email

Expressions

Error

Expression:ErrorCode

  • Error code.

Expression:ErrorMessage

  • Error message.

General auth data

Expression:UserID

  • ObjectId of current user.

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:UserName

  • The user's screen name, handle, or alias. Twitter screen names are unique, but subject to change. .

User data

Expression:UserData

  • Get user data by key. Add 1st parameter for a specific key, add 2nd parameter for default value.

Conditions

General - logged out

Condition:On logged out

  • Triggered when logged out.

Condition:On logged out error

  • Triggered when logged out error.

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.

General - session

Condition:On get valid session

  • Triggered when get valid session.

Condition:On get invalid session

  • Triggered when get invalid session.

User data

Condition:On updating user data

  • Triggered when updating user data success.

Condition:On updating user data error

  • Triggered when updating user data error.

UserID & Password - create account

Condition:On creating account

  • Triggered when creating account success.

Condition:On creating account error

  • Triggered when creating account error.

UserID & Password - sending password result email

Condition:On sending password result email

  • Triggered when sending password result email success.

Condition:On sending password result email error

  • Triggered when sending password result email error.