/// <summary> /// Deletes an instance of UserLogin. Returns true on success. /// </summary> /// <param name="loginProvider"> loginProvider </param> /// <param name="providerKey"> providerKey </param> /// <param name="userId"> userId </param> /// <returns>bool</returns> public async Task <bool> DeleteLogin( int siteId, string loginProvider, string providerKey, string userId) { return(await dbUserLogins.Delete( siteId, loginProvider, providerKey, userId)); }
/// <summary> /// Deletes an instance of UserLogin. Returns true on success. /// </summary> /// <param name="loginProvider"> loginProvider </param> /// <param name="providerKey"> providerKey </param> /// <param name="userId"> userId </param> /// <returns>bool</returns> public async Task <bool> DeleteLogin( int siteId, string loginProvider, string providerKey, string userId, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); return(await dbUserLogins.Delete( siteId, loginProvider, providerKey, userId)); }