Home > @plasmicapp/auth-api > ensurePlasmicAppUser

ensurePlasmicAppUser() function

Signature:

export declare function ensurePlasmicAppUser(opts: {
    host?: string;
    appSecret: string;
    roleId?: string;
} & UserIdentifier): Promise<PlasmicUserResult>;

Parameters

Parameter Type Description
opts { host?: string; appSecret: string; roleId?: string; } & UserIdentifier

Returns:

Promise<PlasmicUserResult>