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

Public Member Functions

 register ()
 
 registerUserAuthentication (Request $request)
 
 boot ()
 

Detailed Description

Database user service provider

Definition at line 13 of file UserServiceProvider.php.

Member Function Documentation

◆ boot()

BristolSU\Support\User\UserServiceProvider::boot ( )

Boot

  • Tell Laravel to resolve users from the authentication contract.

Definition at line 47 of file UserServiceProvider.php.

◆ register()

BristolSU\Support\User\UserServiceProvider::register ( )

Register

  • Register the authentication provider to use for resolving and setting the current user
  • Bind a repository to the contract

Definition at line 22 of file UserServiceProvider.php.

◆ registerUserAuthentication()

BristolSU\Support\User\UserServiceProvider::registerUserAuthentication ( Request  $request)

Register the authentication provider.

Will register the API authentication provider if '/api/' is in the route, or the web authentication otherwise

Parameters
Request$request

Definition at line 34 of file UserServiceProvider.php.


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