MrGabriCavi / laravel-google-token-guard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Google Token Guard

Introduction

The package purpose is to use the Google™ token for authentication on API backend without managing any information about session or login.

Starting from the original Google™ guide Authenticate with a backend server that assume any kind of session that could you open server side after validating the Google™ token ID, this package allows to save users in your system with hashed information in database and associate to the original token. Since the token ID contains the user ID on Google™ systems and Google™ guide itself suggest to use this ID to associate any information to the user after a first POST request with original token and the token ID, you could make all call to guard api protected only with token in Authorization header in Bearer mode.

About

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%