class WarpEngine::ApplicationToken

A bearer credential (table application_tokens). Only the SHA-256 digest and the first eight characters (token_prefix) are stored; the plain token exists only on the instance that created it (plain_token).

scopes says what the token may do: update and upload for the CI’s /build endpoints, catalog for a signed-in client, and the Admin API scopes. The polymorphic owner must be of a class the host configured (application token, access token or Admin API owner class), and admin scopes need the Admin API owner class. An unrestricted token is exempt from software ownership checks. Revoking soft-deletes it (WarpEngine::SoftDeletable); the active scope holds the kept, unexpired tokens.