AuthorizedWRDAPIUser | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias AuthorizedWRDAPIUser

    Describes a WRD API user authenticated by verifyWRDAPIUser

    type AuthorizedWRDAPIUser = {
        accountStatus: WRDAuthAccountStatus | null;
        scopes: string[];
        tokenId: number;
        userId: number;
        wrdSchema: string;
    }
    Index

    Properties

    accountStatus: WRDAuthAccountStatus | null

    Entity account status if available

    scopes: string[]

    Scopes granted to this API key

    tokenId: number

    ID of the wrd.tokens row the user authenticatd with

    userId: number

    Authenticated WRD entity#

    wrdSchema: string

    WRD schema we've authenticated to