Authorization utilities for TagoIO
This class provides functionality for managing and validating authorization tokens and permissions within the TagoIO platform. Used for authorization validation and token information retrieval.
import { Authorization } from "@tago-io/sdk";const auth = new Authorization({ token: "your-auth-token", details: { id: "auth-id" }});const info = await auth.info();console.log(info.permissions); Copy
import { Authorization } from "@tago-io/sdk";const auth = new Authorization({ token: "your-auth-token", details: { id: "auth-id" }});const info = await auth.info();console.log(info.permissions);
Get information about the current Authorization
Authorization utilities for TagoIO
This class provides functionality for managing and validating authorization tokens and permissions within the TagoIO platform. Used for authorization validation and token information retrieval.
Example: Basic authorization info