import { UserInfo } from './../../../../models/userInfo' ; export interface ExternalAuthProvider { getAccessToken ( authCode , action ? ) : Promise < string > ; getUserInfo ( accessToken ) : Promise < UserInfo > ; }