Auth0.Nancy.SelfHost.Auth0Authentication.CurrentUserBy C# (CSharp) Method

CurrentUserBy() private static method

private static CurrentUserBy ( string cookieValue ) : IUserIdentity
cookieValue string
return IUserIdentity
        private static IUserIdentity CurrentUserBy(string cookieValue)
        {
            return _users.Any(u => u.Key.Equals(cookieValue))
                ? _users[cookieValue]
                : null;
        }