kilbiller/pridwen

Simple authorization library.

v0.0.4 2017-10-27 09:30 UTC

This package is auto-updated.

Last update: 2020-06-15 12:35:24 UTC


README

CircleCI codecov

Simple authorization library.

Requires php >= 7.0

API

  • Auth::setPermissions(array): void
  • Auth::retrieveCredentials(closure): void
  • Auth::getLoggedUser(): AuthUser
  • AuthUser->can(string): boolean