Bristol SU Support Package
Protected Member Functions | List of all members
BristolSU\Support\Authentication\PassportServiceProvider Class Reference
Inheritance diagram for BristolSU\Support\Authentication\PassportServiceProvider:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\Authentication\PassportServiceProvider:
Collaboration graph
[legend]

Protected Member Functions

 deleteCookieOnLogout ()
 

Detailed Description

Class PassportServiceProvider

Overridden service provider for Laravel passport to allow for the logout() method to be used without clearing user tokens.

Definition at line 22 of file PassportServiceProvider.php.

Member Function Documentation

◆ deleteCookieOnLogout()

BristolSU\Support\Authentication\PassportServiceProvider::deleteCookieOnLogout ( )
protected

Stop the api authentication cookie being logged out when any model is logged out of.

Since the package uses the same framework for users, groups, roles and activity instances, we need to ensure we only log out of the api if we log out of the database user.

Definition at line 31 of file PassportServiceProvider.php.


The documentation for this class was generated from the following file: