1.0.2 • Published 6 months ago

@types/netlify-auth-providers v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for netlify-auth-providers 1.0
// Project: https://www.npmjs.com/package/netlify-auth-providers
// Definitions by: Drazi Crendraven <https://github.com/drazisil/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 09 Sep 2021 18:01:22 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Drazi Crendraven.

1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

3 years ago