angularx-social-login
Version:
Social login and authentication module for Angular 4 / 5. Supports authentication with Google and Facebook. Can be extended to other providers also.
25 lines (24 loc) • 794 B
TypeScript
export declare class SocialUser {
provider: string;
id: string;
email: string;
name: string;
photoUrl: string;
firstName: string;
lastName: string;
authToken: string;
idToken: string;
authorizationCode: string;
/**
* Contains the entire object returned from the Facebook API based on the fields you requested.
* Only available for the Facebook provider.
* Refer to the Graph API for details: https://developers.facebook.com/docs/graph-api
*/
facebook?: any;
/**
* Contains the entire object returned from the Linked In API based on the fields you requested.
* Only available for the Linked In provider.
* Refer to the Linked In docs: https://developer.linkedin.com/docs/fields
*/
linkedIn?: any;
}