ASC.FederatedLogin.LoginProviders.GoogleLoginProvider.ProfileFromGoogle(string)

Here are the examples of the csharp api class ASC.FederatedLogin.LoginProviders.GoogleLoginProvider.ProfileFromGoogle(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: CommunityServer
Source File: GoogleLoginProvider.cs
private static LoginProfile RequestProfile(string accessToken)
        {
            var googleProfile = RequestHelper.PerformRequest(GoogleUrlProfile + "me", headers: new Dictionary<string, string> { { "Authorization", "Bearer " + accessToken } });
            var loginProfile = ProfileFromGoogle(googleProfile);
            return loginProfile;
        }