diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
setRole
diamond
authentication
roles
Sets the role.
package
static if
(
isWeb
)
void
setRole
(
HttpClient
client
,
Role
role
)
Parameters
client
HttpClient
The client.
role
Role
The role.
Meta
Source
See Implementation
diamond
authentication
roles
classes
Role
functions
addRole
getRole
setDefaultRole
setRole
setRoleFromSession
setSessionRole
properties
hasRoles
static variables
defaultRole
Sets the role.