UNPKG

node-socialite

Version:

Socialite is an OAuth2 authentication tool for Node.js

17 lines (16 loc) 505 B
import { SocialiteConfig } from "../../types/global"; /** * 配置对象 */ export declare class Config { protected config: SocialiteConfig; constructor(config?: SocialiteConfig); get(key?: string, defaultValue?: any): any; set(key: string, value: any): Record<string, any>; has(key: string): boolean; offsetExists(key: string): boolean; offsetGet(key: string): any; offsetSet(key: string, value: any): void; offsetUnset(key: string): void; toString(): string; }