mercredi 16 décembre 2015

Is this considered to be a custom facade approach in Laravel?

I have piece of functionality that identifies access by a given token (string). If a valid token is given the session should be populated with a valid entry (using the SessionInterface). I've set up my VerifyToken middleware and would like to use a Guard-like approach for my token validation and session storage.

My question, is this type of functionality considered to be a facade in Laravel? If so; what would be the appropiate location to store these files (e.g. app\Facades and also a app\Facades\Contracts to store the interfaces)?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire