Hello , I want to implement my own user model, but I'm new to Laravel, can you give me an example of this statement in the FAQ section.
"How to implement my Model?
We registered a new user provider that you configured on config/auth.php called "keycloak-users".
In this same configuration you setted the model. So you can register your own model extending Vizir\KeycloakWebGuard\Models\KeycloakUser class and changing this configuration.
You can implement your own User Provider: just remember to implement the retrieveByCredentials method receiving the Keycloak Profile information to retrieve a instance of model.
Eloquent/Database User Provider should work well as they will parse the Keycloak Profile and make a "where" to your database. So your user data must match with Keycloak Profile."
Hello , I want to implement my own user model, but I'm new to Laravel, can you give me an example of this statement in the FAQ section.
"How to implement my Model? We registered a new user provider that you configured on config/auth.php called "keycloak-users".
In this same configuration you setted the model. So you can register your own model extending Vizir\KeycloakWebGuard\Models\KeycloakUser class and changing this configuration.
You can implement your own User Provider: just remember to implement the retrieveByCredentials method receiving the Keycloak Profile information to retrieve a instance of model.
Eloquent/Database User Provider should work well as they will parse the Keycloak Profile and make a "where" to your database. So your user data must match with Keycloak Profile."