TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Class 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.

    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);
    Index

    Constructors

    Methods

    Constructors

    Methods