Skip to content

Environment Variables

Jeremy Postlethwaite edited this page Feb 17, 2024 · 9 revisions

Authentication and Authorization

env() type config()
PLAYGROUND_AUTH_VERIFY string playground-auth.verify
PLAYGROUND_AUTH_SANCTUM bool playground-auth.sanctum
PLAYGROUND_AUTH_HAS_PRIVILEGE bool playground-auth.hasPrivilege
PLAYGROUND_AUTH_USER_PRIVILEGES bool playground-auth.userPrivileges
PLAYGROUND_AUTH_HAS_ROLE bool playground-auth.hasRole
PLAYGROUND_AUTH_USER_ROLE bool playground-auth.userRole
PLAYGROUND_AUTH_USER_ROLES bool playground-auth.userRoles

Loading

env() type config()
PLAYGROUND_AUTH_LOAD_COMMANDS bool playground-auth.load.commands
PLAYGROUND_AUTH_LOAD_TRANSLATIONS bool playground-auth.load.translations

Redirects

env() type config()
PLAYGROUND_AUTH_REDIRECT string playground-auth.redirect

Token

env() type config()
PLAYGROUND_AUTH_TOKEN_ABILITIES string playground-auth.token.abilities
PLAYGROUND_AUTH_REDIRECT string playground-auth.verify
Clone this wiki locally