Skip to main content

Module token_api

Module token_api 

Source

Enums§

GetTokenAdminRelianceError
struct for typed errors of method get_token_admin_reliance
IntrospectTokenError
struct for typed errors of method introspect_token
ListAvailableScopesError
struct for typed errors of method list_available_scopes

Functions§

get_token_admin_reliance
For each workspace the caller administers among workspace_ids (every one when omitted), what a token with these scopes reaches only through the caller’s admin role: folders they are not a member of, other users’ items not shared with them, resources the runnables the scopes name reference, and admin-only actions the scopes allow. Workspaces with nothing to report are left out. Refused to a credential that is scoped or withholds admin rights.
introspect_token
Reports what the bearer credential of this request is: its row (label, expiry, bound workspace, scopes, carried admin rights), the identity it acts as in workspace, and whether the route layer would admit it on method path. Only the presented token is ever described. Every token may call it, whatever its scopes.
list_available_scopes