// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication.OAuth;
namespace Microsoft.AspNet.Authentication.Google
{
///
/// Specifies callback methods which the invokes to enable developer control over the authentication process.
///
public interface IGoogleAuthenticationNotifications : IOAuthAuthenticationNotifications
{
///
/// Invoked whenever Google succesfully authenticates a user.
///
/// Contains information about the login session as well as the user .
/// A representing the completed operation.
Task Authenticated(GoogleAuthenticatedContext context);
}
}