Actions Triggers: pre-user-registration - Event Object
The event
object for the pre-user-registration Actions trigger provides contextual information about the request to register a new user.
Property |
Description |
event.client
(Optional)
|
Information about the Client with which this transaction was
initiated.
Includes the following properties:
-
client_id String.
The client id of the application the user is logging in to.
-
metadata Dictionary.
An object for holding other application properties.
-
name String.
The name of the application (as defined in the Dashboard).
|
event.connection
|
Details about the Connection that was used to register the user.
Includes the following properties:
-
id String.
The connection's unique identifier.
-
metadata Optional dictionary.
Metadata associated with the connection.
-
name String.
The name of the connection used to authenticate the user (such as
twitter or some-g-suite-domain ).
-
strategy String.
The type of connection. For social connections,
event.connection.strategy === event.connection.name .
For enterprise connections, the strategy is
waad (Windows Azure AD), ad (Active
Directory/LDAP), auth0 (database connections), and so
on.
|
event.request
|
Details about the request that initiated the transaction.
Includes the following properties:
|
event.tenant
|
Details about the Tenant associated with the current transaction.
Includes the following properties:
-
id String.
The name of the tenant.
|
event.transaction
(Optional)
|
Details about the current transaction.
Includes the following properties:
|
event.user
|
An object describing the user who is attempting to register.
Includes the following properties:
-
app_metadata Optional dictionary.
Custom fields that store info about a user that influences the
user's access, such as support plan, security roles, or access
control groups.
-
email Optional string.
(unique) User's email address.
-
family_name Optional string.
User's family name.
-
given_name Optional string.
User's given name.
-
name Optional string.
User's full name.
-
nickname Optional string.
User's nickname.
-
phone_number Optional string.
User's phone number.
-
picture Optional string.
URL pointing to the
user's profile picture.
-
user_metadata Optional dictionary.
Custom fields that store info about a user that does not impact
what they can or cannot access, such as work address, home
address, or user preferences.
-
username Optional string.
(unique) User's username.
|