class WarpEngine::DeviceGrant

One device authorization grant (table device_grants): a client without a browser asks for a sign-in, gets a device_code to poll with and a short user_code the person enters on the verification page.

Both codes are generated on create and expires_at is set from the host’s device_code_ttl. When the person approves, subject is the account and application_token the token issued to the device; issued_token holds the plain token until the device collects it or the grant expires.