The login key (username, email...) used by the user to authenticate.
If the user exists.
Optionalmetadata: any
Custom 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.
Optionalmetadata: any
Custom 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.
Optionaluser: User | null
Properties of the authenticated user. Accepts custom fields. Can be null.
Optionalmetadata: any
Custom 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.
Optionalmetadata: any
Custom fields to link to the login success event.
Links a failed login event to the current trace.