OBJECT
Code
Verification Code (for change password, etc)
link GraphQL Schema definition
- type Code {
- # Primary Key
- Int! :
- # User ID who initiated the code
- Int! :
- # Random verification code
- String! :
- # Type of verification code: helps to determine the goal, e.g. restore_password or
- # verify_email
- String! :
- # Unix timestamp when code was created
- Float! :
- # Unix timestamp when code will be expired: created_at + lifetime
- Float! :
- # State of code: new|cancelled|expired|used
- String! :
- # Original user IP who initiated the code
- String! :
- # ID of UserAgent who initiated the code
- Int! :
- # Unix timestamp when code was used
- Float :
- # Original IP who used the code
- String :
- # ID of UserAgent who used the code
- Int :
- }