typograph-editor-documentation
    Preparing search index...

    Function token_claims

    • The claims of a JWT, read without checking it: collab-service checks it, this only wants the name and color to show. Anything unreadable gives no claims.

      Parameters

      • token: string

      Returns {
          avatar_url?: string;
          color?: string;
          name?: string;
          role?: string;
          sub?: string;
      }