@types/netlify-auth-providers
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/netlify-auth-providers

Weekly Downloads

31

Version

1.0.2

License

MIT

Unpacked Size

3.3 kB

Total Files

5

Last publish

Collaborators

  • types