Config
class Config
Constants
| MORPH_NAME |
|
| MORPH_TYPE |
|
Methods
Get the config repository.
Get the permission registrar.
Determine if teams are enabled.
Ensure teams are enabled.
Get the team model class.
Get the model_has_roles table name.
Get the model_has_permissions table name.
Get the role_has_permissions table name.
Get the roles table name.
Get the permissions table name.
Get the model morph key column.
Get the team foreign key column.
Get the default model class for raw permission assignments.
Get the default auth guard name.
Get the role model class.
Get the permission model class.
Determine if permission events are enabled.
Determine if Passport client credentials should be checked.
Determine if role names should be shown in exceptions.
Determine if permission names should be shown in exceptions.
Determine if wildcard permissions are enabled.
Get the wildcard permission class.
Details
at line 27
static protected Repository
repository()
Get the config repository.
at line 35
static protected PermissionRegistrar
registrar()
Get the permission registrar.
at line 43
static bool
teamsEnabled()
Determine if teams are enabled.
at line 51
static void
ensureTeamsEnabled()
Ensure teams are enabled.
at line 63
static string
teamModel()
Get the team model class.
at line 79
static string
modelHasRolesTable()
Get the model_has_roles table name.
at line 87
static string
modelHasPermissionsTable()
Get the model_has_permissions table name.
at line 95
static string
roleHasPermissionsTable()
Get the role_has_permissions table name.
at line 103
static string
rolesTable()
Get the roles table name.
at line 111
static string
permissionsTable()
Get the permissions table name.
at line 119
static string
morphKey()
Get the model morph key column.
at line 127
static string
teamForeignKey()
Get the team foreign key column.
at line 137
static string|null
defaultModel()
Get the default model class for raw permission assignments.
at line 145
static string
defaultGuard()
Get the default auth guard name.
at line 155
static string
roleModel()
Get the role model class.
at line 165
static string
permissionModel()
Get the permission model class.
at line 173
static bool
eventsEnabled()
Determine if permission events are enabled.
at line 181
static bool
usePassportClientCredentials()
Determine if Passport client credentials should be checked.
at line 189
static bool
displayRoleInException()
Determine if role names should be shown in exceptions.
at line 197
static bool
displayPermissionInException()
Determine if permission names should be shown in exceptions.
at line 205
static bool
wildcardPermissionsEnabled()
Determine if wildcard permissions are enabled.
at line 215
static string
wildcardPermissionClass()
Get the wildcard permission class.