Skip to content

caesarb/portal-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portal Api

  • Contains Model Classes for Crims Users (Roles, Groups & Shares)
  • A Client to connect to our Laravel/Passport-based Authentication Server
  • A User- and AuthServiceProvider to resolve Illuminate\Support\Facades\Auth::user(). Providers will self register once this package is required on composer update or @php artisan package:discover --ansi

Usage

In composer.json add to the require field:

"require": { "php": "^8.2", "crims/portal-api": "^1.0" ... }

Required Env Variables

Docker Container of the consuming microservice needs to pass:

PORTAL_URL - Url of the Authentication Server

EXTERNAL_ACCESS_KEYS - Optional: listing of key-value pairs for Robot connections

About

Shared authentication models for Laravel Passport

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages