Installation
npm install --save @types/netlify-auth-providers
Summary
This package contains type definitions for netlify-auth-providers (https://www.npmjs.com/package/netlify-auth-providers).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/netlify-auth-providers.
index.d.ts
export interface Config {
site_id?: string;
base_url?: string;
}
export interface AuthenticatorConfig {
provider: string;
scope?: string;
}
export default class Authenticator {
constructor(config: Config);
authenticate(options: AuthenticatorConfig, cb: (err: Error, data: any) => void): void;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Drazi Crendraven.