导航

01-013 HttpAbstractions 之 IAuthenticationHandler ---未完成

Posted on 2015-03-10 16:35  DotNet1010  阅读(131)  评论(0)    收藏  举报

SourceCode:

 [AssemblyNeutral]
    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);
    }