Plugin : Authentication

Author:Rex.Rainbow

Download

Properties

Login counter

  • Enable login counter.
    • Options : ["No","Yes"]

Revocable session

  • Enable revocable session.
    • Options : ["No","Yes"]

Actions

General

Action:Logging out

  • Logging out current account.

Initial 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"]

Quick login

Action:Sign up & Login

  • Sign up & login with user name & password.
    • User name ( string ) : Unique user name.
    • Password ( string ) : User password

User name & Password - login

Action:Login

  • Login with user name & password.
    • User name ( string ) : Unique user name.
    • Password ( string ) : User password

User name & Password - reset password

Action:Sending password reset email

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

User name & Password - sign up

Action:Create account

  • Create account with user name & password.
    • User name ( string ) : Unique user name.
    • Password ( string ) : User password
    • Email ( string ) : User email, optional.

Expressions

Error

Expression:ErrorCode

  • Error code.

Expression:ErrorMessage

  • Error message.

General auth data

Expression:UserID

  • Unique user ID (object ID in User class)

Expression:UserName

  • Unique user name.

Expression:Email

  • Registered Email address.

Expression:LoginCount

  • Get login counter (1-base). Return 0 if this feature is not enable.

Conditions

General - login

Condition:On login successfully

  • Triggered when login successfully.

Condition:On login error

  • Triggered when login error.

Condition:Is login

  • Return true if logging now.

Quick login

Condition:Is first login

  • Return true if first login by "action: Sign up & Login".

User name & Password - create account

Condition:On creating account successfully

  • Triggered when creating account successfully.

Condition:On creating account error

  • Triggered when creating account error.

User name & Password - sending password result email

Condition:On sending password result email successfully

  • Triggered when sending password result email successfully.

Condition:On sending password result email error

  • Triggered when sending password result email error.