An Event Object describes an Authentication Event, and serves as a "proof" that the user has successfully authenticated. The field approved tells you whether this event is approved, and the signature can be validated to make sure that this "proof" is generated by Cotter.
The event ID
Cotter's User ID of the user that requested this authentication event
[DEPRECATED] Your User ID for the user in your server
A tag that describes the authentication event.
The user's IP address when requesting authentication
The user's location when requesting authentication
The UNIX timestamp when the user requested for authentication
The authentication method that was used: TRUSTED_DEVICE , PIN , or BIOMETRIC
Whether or not this is a new request. This is used for pending requests where the user need to tap on their device to approve the login request.
Whether or not this authentication request was approved
A signature from Cotter that prove that this Event Object is generated by Cotter.
To use this Event Object, you should validate it's authenticity following this guide: