@arc-publishing/sdk-identity
Version:
JS Identity SDK for working with Identity API
17 lines (16 loc) • 580 B
TypeScript
import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse';
export interface ConfigOptions {
signupRecaptcha: boolean;
signinRecaptcha: boolean;
magicLinkRecaptcha: boolean;
resetPasswordRecaptcha: boolean;
googleClientId: string;
facebookAppId: string;
disqus?: {
enabled: boolean;
publicKey: string;
};
}
export declare function isConfigOptions(object: ConfigOptions | APIErrorResponse): object is ConfigOptions;
export declare function getConfig(): Promise<ConfigOptions | APIErrorResponse>;
export default getConfig;