🔑Auth
The different types/levels of authentication and authorization in the Stelo API.
Last updated
The different types/levels of authentication and authorization in the Stelo API.
Last updated
Auth is handled on stelo from headers to cookies, please refer below to the type of auth you need to satisfy, and how to do so.
Auth Type | Description |
---|---|
guest
You are a guest if you don't satisfy any of these others auth methods
user
Attach a valid user token to your request via the stelo_token
cookie or inside the Authorization
header
wallet
Either utilize the user
auth or attach a wallet token to your request via the Authorization
header. While not typical, you can also put a wallet token into the stelo_token
cookie to auth your request.
admin
Silly squirrel, go dive into the code if you want this.