Questions tagged [provider]

DO NOT USE — this tag is being cleaned up. Use [android-contentprovider], [flutter-provider], [provider-model], or whatever more specific tag is appropriate instead.

DO NOT USE — this tag is being cleaned up. Instead, use:

1714 questions
12
votes
4 answers

AngularJS - Unknown provider configuring $httpProvider

In the following code example: myApp.config(['$httpProvider', function($httpProvider, $cookieStore) { $httpProvider.defaults.withCredentials = true; $httpProvider.defaults.headers.get['Authorization'] = 'Basic '+…
kij
  • 1,421
  • 1
  • 16
  • 40
11
votes
3 answers

How can I unit test whether the ChangeNotifier's notifyListeners was called in Flutter/Dart?

I'm using the provider package in our app and I want to test my ChangeNotifier class individually to have simple unit tests checking the business logic. Apart from the values of ChangeNotifier properties, I also want to ensure that in certain cases…
Vince Varga
  • 6,101
  • 6
  • 43
  • 60
11
votes
2 answers

Windows 7 Credential Provider Sample

I'm trying to create a custom login for Windows 7 using Credential Provider. I use Windows 7 Professional, Windows SDK 7.0 and Visual Studio 2010 Ultimate. After i build the solution for SampleCredentialProvider from the sample folder in SDK 7.0…
Andrei Bularca
  • 914
  • 2
  • 11
  • 29
11
votes
4 answers

You must configure the check path to be handled by the firewall using form_login in your security firewall configuration

i have webservice which is provider for my "regular" users. I want to use FosUserBundle for my administrators. Above is my security configuration. regular users login works with no problem, but when i want to login as admin i got this message: "You…
Antonio Peric
  • 246
  • 1
  • 2
  • 13
11
votes
6 answers

Weather web service for Europe?

We are looking for a reliable "current weather" web service for Europe, with city resolution. We only need the current weather. Since it is for a commercial web site, we don't mind paying a reasonable fee for the service. What are our options? What…
Sklivvz
  • 30,601
  • 24
  • 116
  • 172
10
votes
1 answer

Provider vs ValueNotifier Flutter

Can someone explain the difference between using Provider package and using ValueNofifier? Right now I’m using ValueNotifier and ValueListenableBuilder in my app and I see so much similarity between this and using Providers and Consumers. Both have…
Morez
  • 2,085
  • 2
  • 10
  • 33
10
votes
2 answers

Keycloak: How to login only through identity provider

I have an Keycloak Broker and 2 Identity Providers running. Currently I saw the Username and Password fields and the 2 links to the configured Identity Providers at the broker login screen. The login through Identity Providers is possible after…
hb70muc
  • 101
  • 1
  • 1
  • 5
10
votes
3 answers

Flutter: How to access 'provider' values in a function outside the build context of the child widget?

The provider values are coming from the parent widget. I can use the provider values under the build context. However I need the provider values in the getHomeCampaigns function. I tried to define local variables and assign them to the provider…
Omar Ellakany
  • 113
  • 1
  • 1
  • 7
10
votes
3 answers

Microsoft.ACE.OLEDB.12.0 CSV ConnectionString

I know questions this kind are asked from time to time but i can't find any satisfying solution. How can I open a CSV-File using MS ACE OLEDB 12? I try it with the following code. DbConnection connection = new…
Daniel Bişar
  • 2,663
  • 7
  • 32
  • 54
10
votes
1 answer

Has anybody implemented 2 Legged OAuth using DNOA?

I am trying to create an Authentication Module in CSharp where I need to verify the Signature from the request using DotNetOpenAuth(DNOA) Library for 2 Legged OAuth which only has consumer Key and a Secret. If you have any sample implementation of 2…
Madhavi Venu
  • 101
  • 1
  • 4
10
votes
2 answers

What does a provider class mean in the .NET world?

There are many classes having this provider suffix. (Data,membership,modelmetadata,...). When should be a class called as a provider class ?
user137348
  • 10,166
  • 18
  • 69
  • 89
10
votes
1 answer

How can make a FileProvider available to other applications?

Is it possible to have a FileProvider available to other applications ? manifest.xml ...
M'hamed
  • 2,508
  • 3
  • 24
  • 41
10
votes
9 answers

Entity classes decoupled from LINQ to SQL provider for implementing the Repository pattern. How?

I have looked over the Repository pattern and I recognized some ideas that I was using in the past which made me feel well. However now I would like to write an application that would use this pattern BUT I WOULD LIKE TO HAVE THE ENTITY CLASSES…
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
10
votes
1 answer

What are com.sec.android.provider.* apps exactly?

I know it's not a code question. However, i try to work on some databases that stored in directories like /data/data/com.sec.android.provider.*. What does it mean by "sec" in the provider signature? Does it depend on the manufacture provider? One…
user1891121
  • 125
  • 1
  • 1
  • 6
10
votes
3 answers

Legacy Java code use of com.sun.net.ssl.internal.ssl.Provider()

I am working with some code from back in 2003. There is a reference to the following class: new com.sun.net.ssl.internal.ssl.Provider() It is causing an error: Access restriction: The type Provider is not accessible due to restriction on required…
Dan
  • 101
  • 1
  • 1
  • 3