@makehq/sdk
    Preparing search index...

    Type Alias Authorization

    Represents the authorization used for the current request.

    type Authorization = {
        authUsed: string;
        organizationId?: number | null;
        scope: string[];
    }
    Index

    Properties

    authUsed: string

    Authentication method used (e.g. 'token', 'oauth')

    organizationId?: number | null

    ID of the organization the authorization is bound to (an organization-scoped API token or an organization-bound OAuth token). null when the authorization can be used in every organization of the user. May be absent when the API does not provide this information yet.

    scope: string[]

    Scopes granted to the current authorization