/// <summary> /// Login a user. /// </summary> /// <param name="username">The username</param> /// <param name="password">The password</param> public IIdentity Login(string username, string password) { return(_authenticationManager.AuthenticateIdentity(username, password)); }