crims/portal-api

There is no license information available for the latest version (1.0.1) of this package.

Centralized authentication and middleware library for CRIMS

Installs: 254

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/crims/portal-api

1.0.1 2025-10-09 10:59 UTC

This package is auto-updated.

Last update: 2025-12-12 11:08:16 UTC


README

  • 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