https://github.com/kilbiller/pridwen
Simple authorization library.
https://github.com/kilbiller/pridwen
authorization php
Last synced: 5 months ago
JSON representation
Simple authorization library.
- Host: GitHub
- URL: https://github.com/kilbiller/pridwen
- Owner: kilbiller
- License: mit
- Created: 2017-05-16T16:09:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-27T09:30:35.000Z (over 8 years ago)
- Last Synced: 2025-12-06T22:16:27.643Z (7 months ago)
- Topics: authorization, php
- Language: PHP
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pridwen
[](https://circleci.com/gh/kilbiller/pridwen)
[](https://codecov.io/gh/kilbiller/pridwen)
Simple authorization library.
Requires php >= 7.0
## API
- Auth::setPermissions(array): void
- Auth::retrieveCredentials(closure): void
- Auth::getLoggedUser(): AuthUser
- AuthUser->can(string): boolean