18 lines
496 B
C#
18 lines
496 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.AspNet.HttpFeature.Security
|
|
{
|
|
public interface IAuthenticationHandler
|
|
{
|
|
void GetDescriptions(IAuthTypeContext context);
|
|
|
|
void Authenticate(IAuthenticateContext context);
|
|
Task AuthenticateAsync(IAuthenticateContext context);
|
|
|
|
void Challenge(IChallengeContext context);
|
|
void SignIn(ISignInContext context);
|
|
void SignOut(ISignOutContext context);
|
|
}
|
|
}
|