Laravel Sanctum produces a featherweight verification system for gyms (single webpage services), mobile programs, and easy, token depending APIs. Sanctum permits each owner of your own tool to come up with a number of API tokens for their membership. These tokens is likely to be allowed talents / scopes which indicate which behavior the tokens can perform.
The Way It Works
Laravel Sanctum exists to resolve two distinct challenges. Let’s go over each before digging deeper to the selection.
First, Sanctum is a simple deal you might use to problem API tokens in your consumers without the complications of OAuth. This particular aspect is actually motivated by GitHub alongside methods which concern “personal connection tokens”. For instance, think of the “account settings” of product possesses a screen where a person may make an API keepsake for his or her profile.