UNPKG

better-vsts-npm-auth

Version:

Platform agnostic library which provides a robust solution for maintaining credentials in your npmrc files

8 lines (7 loc) 333 B
export declare class AuthorizationError extends Error { constructor(...a: Array<any>); } export declare function getVstsLabOauthToken(): string; export declare function isVstsFeedUrl(url: string): boolean; export declare function setRefreshToken(token: string): void; export declare function getUserAuthToken(): Promise<string>;