// 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.Security.OAuth;
namespace Microsoft.AspNet.Security.Facebook
{
///
/// Specifies callback methods which the invokes to enable developer control over the authentication process.
///
public interface IFacebookAuthenticationNotifications : IOAuthAuthenticationNotifications
{
///
/// Invoked when Facebook succesfully authenticates a user.
///
/// Contains information about the login session as well as the user .
/// A representing the completed operation.
Task Authenticated(FacebookAuthenticatedContext context);
}
}