Auth0.Nancy.SelfHost.ModuleExtensions.RemoveAuthenticationFromThisSession C# (CSharp) Méthode

RemoveAuthenticationFromThisSession() public static méthode

public static RemoveAuthenticationFromThisSession ( this module ) : IResponseFormatter
module this
Résultat IResponseFormatter
        public static IResponseFormatter RemoveAuthenticationFromThisSession(this NancyModule module)
        {
            var userInstance = module.Context.CurrentUser.ToUserModel();
            Auth0Authentication.RemoveAuthenticationFor(userInstance, module.Session);

            return module.Response;
        }