Scale Intelligence■ Docs
Docs / The model / Token

Token.

The claims of an access token; the gateway checks six of them and grants nothing on the token alone

Figure 1Tokenspecified
TOKENvalue at none scopeit is marked as an access tokentoken_useenum:accesssubjecttextissueraddresswhich client it was given toclientidwhich service it is made out toaudiencetextexpires_attimesigned_in_strengthtextoptionalsigned_in_attimeoptionalaccess_scopes[AccessScope]outermost firstacting_for[text]optionalthe holder's key it is tied tobound_keyhashoptionalACCESSSCOPEthrough access_scopes
Token is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
people

Fields#

fieldtyperequirednote
token_useone of accessyesit is marked as an access token
subjecttextyes
issueraddressyes
clientidyeswhich client it was given to
audiencetextyeswhich service it is made out to
expires_attimeyes
signed_in_strengthtextno
signed_in_attimeno
access_scopesAccessScopeyes
acting_for[text]nooutermost first
bound_keyhashnothe holder’s key it is tied to

Routes that use it#

No route takes or returns Token directly. The record holds it, and the objects that point at it reach it.