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

            await FlushChangesAsync();
        }