mariovalney / laravel-keycloak-web-guard

Simple Keycloak Guard to Laravel Web Routes - https://packagist.org/packages/vizir/laravel-keycloak-web-guard
146 stars 80 forks source link

Implement my user provider #15

Closed diegoscunha closed 4 years ago

diegoscunha commented 4 years ago

Hello you can inform me how can I create my User Provider. What would be the necessary steps?

mariovalney commented 4 years ago

Hi.

You can check the docs:

just remember to implement the retrieveByCredentials method receiving the Keycloak Profile information to retrieve a instance of model.