@neurosity/sdk
Version:
Neurosity SDK
21 lines (20 loc) • 448 B
TypeScript
export declare type OAuthConfig = {
clientId: string;
clientSecret?: string;
responseType: "token" | "code";
redirectUri: string;
scope: string[];
state: string;
};
export declare type OAuthQuery = {
clientId: string;
clientSecret: string;
userId: string;
};
export declare type OAuthQueryResult = {
customToken: string;
userId: string;
};
export declare type OAuthRemoveResponse = {
ok: boolean;
};