Questions tagged [service-provider]

380 questions
0
votes
2 answers

Laravel - Service Provider : Class not found

I started a project on Laravel 5.4 today and got a ServiceProvider problem. Here my service provider :
Treast
  • 1,095
  • 1
  • 9
  • 20
0
votes
0 answers

Sign in using custom login without using ASPNET IDENTITY OWIN provider MVC.NET

im writing this code public ActionResult Login(LoginModel model, string returnUrl) { if (!ModelState.IsValid) { return View(model); } var success = UserService.Login(model.UserName,…
0
votes
3 answers

Share a variable through out Laravel application

I have a variable. $key_test = 123456789; I want to be able to access this 1 variable anywhere in my app even in config files, models, controllers, and views. I've tried adding it in my boot():
code-8
  • 54,650
  • 106
  • 352
  • 604
0
votes
1 answer

Laravel service providers validate the routes

In Laravel 5.4 I make one custom service providers for shows specific routes. My code is working properly but I am facing one problem. Problem is that if user ABC assign two routes(menu's) for example user\list user\form Now if user ABC try to…
0
votes
2 answers

Calling Third Party Cryptographic service provider from Microsoft Word for Digital Signature

I'm developing a third party Cryptographic Service Provider (CSP) DLL and Want to integrate the same with Microsoft Windows. The main goal of this development is to call our cryptographic functions like Digital Signature and signature verification…
Thirumal
  • 41
  • 3
0
votes
1 answer

Select one IdP by SP (Shibboleth)

I am running a Shibboleth protected website. So in this scenario I am the service provider (SP). I connect with one federation which redirects users to different identity providers (IdP). Is there a method/setting (at the SP-side) which can…
W. de Brei
  • 33
  • 3
0
votes
1 answer

Is a repository or service provider required?

I am building a Laravel 5.3 app that pulls data from a number of potential sources. It's a fallback system with 3 sources: Database If not found, source 1 If not found, source 2 All 3 sources are quite simple and will be accessed in the same way,…
Mike
  • 8,767
  • 8
  • 49
  • 103
0
votes
1 answer

How to create a SP (service provider) for SSO (Single Sign-on) for node app?

So I was trying to do a POC on SSO using gbraad/passport-saml-example which is not working as apparently IDp for the app stopped providing. Being a newbie in this, I have so many question, it be awesome if someone can help me answering them. 1. Is…
0
votes
1 answer

laravel create service provider

i make a serviceprovider and add provider in app.php but how can i use it ?
Hanik
  • 317
  • 2
  • 6
  • 25
0
votes
0 answers

How do I get the current controller in a Laravel 5.2 Service Provider boot or register method?

I've got a little problem on my hands. I can't manage to get the current controller name from the request in a Service Provider. I want to dynamically provide a different repository by typehinting the same interface based on the controller I'm…
xandrw
  • 331
  • 2
  • 8
0
votes
1 answer

Service Provider raising an error. The class it provides it's not found

I'm trying to test a dummy component of my own with a Service Provider, but I'm getting this error: FatalErrorException in ProviderRepository.php line 146: Class 'Luismartin\Notificador\Notificador' not found This is the Notificador class,…
Luis Martin
  • 910
  • 3
  • 14
  • 31
0
votes
2 answers

How to get user data when using KeyCloak when using Java Servlet Filter Adapter

I am trying to use KeyCloak for developing a Service Provider and authenticating against an OpenAM IDP. I followed these instructions: http://keycloak.github.io/docs/userguide/saml-client-adapter/html/ch07.html My problem now is that after being…
mvermand
  • 5,829
  • 7
  • 48
  • 74
0
votes
0 answers

laravel automatic resolution vs service provider

As I understand, the main point of Laravel's service providers and service container is to allow for DI. However Laravel also has "automatic resolution" whereby the framework appears to automatically inject any dependencies a class needs.. therefore…
jon
  • 1,429
  • 1
  • 23
  • 40
0
votes
0 answers

Is this how I write a bridge in laravel?

I am writing a bridge in laravel between a library and laravel it's self and I thought the best way was to write a service provider package. It would be a package with one class that looks like:
TheWebs
  • 12,470
  • 30
  • 107
  • 211
0
votes
1 answer

How to resolve 404 error in Shibboleth Service Provider?

I have installed the Shibboleth SP[2.5.6 latest] in my Windows Server R 2012.I followed the links : Shibboleth Installation I verified the installation and ran this sitelink -https://localhost/Shibboleth.sso/Status It throws ERROR. HTTP Error 404.0…
kaarthick raman
  • 793
  • 2
  • 13
  • 41