RemoveAuthenticationFor() public static method

public static RemoveAuthenticationFor ( Auth0User auth0User, ISession session ) : void
auth0User Auth0User
session ISession
return void
        public static IResponseFormatter RemoveAuthenticationFromThisSession(this NancyModule module)
        {
            var userInstance = module.Context.CurrentUser.ToUserModel();

            Auth0Authentication.RemoveAuthenticationFor(userInstance, module.Session);

            return(module.Response);
        }