Expand description
Catalyst RBAC Security Scheme definition Catalyst RBAC Security Scheme
Structsยง
- Auth
Token Access Violation - Token does not have required access rights
- Auth
Token Error - Error with the Authorization Token
- CatalystRBAC
Security Scheme - Catalyst RBAC Access Token
Constantsยง
- AUTHORIZATION_
HEADER ๐ - The header name that holds the authorization RBAC token
- MAX_
TOKEN_ ๐AGE - Time in the past the Token can be valid for.
- MAX_
TOKEN_ ๐SKEW - Time in the future the Token can be valid for.
Staticsยง
- CACHE ๐
- Cached auth tokens
Functionsยง
- checker_
api_ ๐catalyst_ auth - When added to an endpoint, this hook is called per request to verify the bearer token is valid. The performed validation is described here.
- indexed_
registrations ๐ - Returns a sorted list of all registrations for the given Catalyst ID from the database.
- last_
signing_ ๐key - Returns the last signing key from the registration chain.
- registration ๐
- Returns a RBAC registration from the given block and slot.
- registration_
chain ๐ - Build a registration chain from the given indexed data.
- service_
unavailable ๐ - Returns a 503 error instance.
Type Aliasesยง
- Encoded
Auth Token - Auth token in the form of catv1..