protected bool Equals( IdentityUserToken <TKey> other) { return(Equals(UserId, other.UserId) && LoginProvider == other.LoginProvider && Name == other.Name); }
protected override async Task RemoveUserTokenAsync( Models.IdentityUserToken <TKey> token) { ThrowIfDisposed(); if (token == null) { throw new ArgumentNullException(nameof(token)); } await _session.DeleteAsync(token); await FlushChangesAsync(); }