Authenticate a user and receive access and refresh tokens
client_id and client_secret to prove application identityusername and password for authenticationtotp_code must be providedTokenPair object:
Authorization: Bearer <token> header.sub - User ID (UUID)realm - Realm IDroles - Array of role names assigned to the userpermissions - Array of all permissions from assigned rolesjti - Unique token ID (for revocation)token_use - “access”exp - Expiration timestamp (15 minutes from issuance)iat - Issued at timestamp"invalid client credentials" - Wrong client_id, client_secret, or realm_id mismatch"invalid credentials" - Wrong username or password"mfa required" - User has MFA enabled but no totp_code provided"invalid mfa code" - TOTP code is incorrect or expiredjti (JWT ID) for revocation tracking