1 2 3 4 5 6 7 8 9 10 11 12 13 | 1x 1x 36x 1x | import * as Promise from 'bluebird'; import { IAuthResponse } from './auth/IAuthResponse'; import { IAuthOptions } from './auth/IAuthOptions'; import { AuthResolverFactory } from './auth/AuthResolverFactory'; export function getAuth(url: string, options?: IAuthOptions): Promise<IAuthResponse> { return AuthResolverFactory.resolve(url, options).getAuth(); } export * from './auth/IAuthOptions'; export * from './auth/IAuthResponse'; |