bearer token

An API credential passed in the HTTP Authorization header — the holder is presumed authorised, no further proof.

Definition

A bearer token is an opaque string sent in an HTTP Authorization: Bearer header. Whoever holds the token can act as the user it identifies, so tokens must be transmitted over TLS and stored carefully. OAuth access tokens, GitHub personal access tokens, and most SaaS API keys are bearer tokens.

When to use

See also