UNPKG

node-sp-auth-config

Version:

Config options builder for node-sp-auth (SharePoint Authentication in Node.js)

10 lines (9 loc) 688 B
import { IAuthContext, IAuthContextSettings, IAuthConfigSettings } from '../interfaces'; export declare const convertAuthContextToSettings: (authContext: IAuthContext, settings?: IAuthConfigSettings) => IAuthContextSettings; export declare const convertSettingsToAuthContext: (configObject: IAuthContextSettings, settings?: IAuthConfigSettings) => IAuthContext; export declare const saveConfigOnDisk: (authContext: IAuthContext, settings: IAuthConfigSettings) => Promise<void>; export declare const defaultPasswordMask = "********"; export declare const getHiddenPropertyName: (data: { [key: string]: string; }) => string; export declare const isOnPrem: (siteUrl: string) => boolean;