All files / src index.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13        1x   1x 3x     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';