public Task ReturnEndpoint(GooglePlusAuthenticatedContext context)
 {
     return Task.FromResult<object>(null);
 }
 public override Task Authenticated(GooglePlusAuthenticatedContext context)
 {
     context.Identity.AddClaim(new Claim("ExternalAccessToken", context.AccessToken));
     return Task.FromResult<object>(null);
 }
 /// <summary>
 /// Invoked whenever Google+ successfully authenticates a user
 /// </summary>
 /// <param name="context">Contains information about the login session as well as the user <see cref="System.Security.Claims.ClaimsIdentity"/>.</param>
 /// <returns>A <see cref="Task"/> representing the completed operation.</returns>
 public virtual Task Authenticated(GooglePlusAuthenticatedContext context)
 {
     return(OnAuthenticated(context));
 }
 public void ApplyRedirect(GooglePlusAuthenticatedContext context)
 {
     context.Response.Redirect(context.Properties.RedirectUri);
 }
 /// <summary>
 /// Invoked whenever Google+ successfully authenticates a user
 /// </summary>
 /// <param name="context">Contains information about the login session as well as the user <see cref="System.Security.Claims.ClaimsIdentity"/>.</param>
 /// <returns>A <see cref="Task"/> representing the completed operation.</returns>
 public virtual Task Authenticated(GooglePlusAuthenticatedContext context)
 {
     return OnAuthenticated(context);
 }