Example #1
0
 /// <summary>
 /// Returns user email from google, using <see cref="GoogleConsumer.GetUserEmail"/> method.
 /// </summary>
 /// <param name="credentials">User oauth credentials.</param>
 /// <returns>User email from google</returns>
 protected virtual string GetUserEmailFromGoogle(OAuthUserCredentials credentials)
 {
     return(GoogleConsumer.GetUserEmail(credentials.AccessToken));
 }