supertokens-node
Version:
NodeJS driver for SuperTokens core
18 lines (17 loc) • 363 B
TypeScript
// @ts-nocheck
import { APIInterface, APIOptions } from "../../types";
declare const getRolesForUser: (
_: APIInterface,
tenantId: string,
options: APIOptions,
__: any
) => Promise<
| {
status: "OK";
roles: string[];
}
| {
status: "FEATURE_NOT_ENABLED_ERROR";
}
>;
export default getRolesForUser;