The API token generation and verification.