The login key (username, email...) used by the user to authenticate.
If the user exists.
Optional
metadata: anyCustom fields to link to the login failure event.
Links a failed login event to the current trace.
The login key (username, email...) used by the user to authenticate.
Optional
metadata: anyCustom fields to link to the login failure event.
Links a successful login event to the current trace. Will link the passed user to the current trace with Appsec.setUser() internally.
The login key (username, email...) used by the user to authenticate.
Optional
user: null | UserProperties of the authenticated user. Accepts custom fields. Can be null.
Optional
metadata: anyCustom fields to link to the login success event.
Links a successful login event to the current trace. Will link the passed user to the current trace with Appsec.setUser() internally.
The login key (username, email...) used by the user to authenticate.
Identifier of the authenticated user.
Optional
metadata: anyCustom fields to link to the login success event.
Links a failed login event to the current trace.