diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
setTokenValidator
diamond
authentication
auth
Sets the token validator.
void
setTokenValidator
(Role function(string, HttpClient) validator)
static if
(
isWeb
)
void
setTokenValidator
(
Role
function
(
string
,
HttpClient
)
validator
)
void
setTokenValidator
(Role delegate(string, HttpClient) validator)
Parameters
validator
Role
function
(
string
,
HttpClient
)
The validator.
Meta
Source
See Implementation
diamond
authentication
auth
functions
getAuthCookie
hasAuthCookie
initializeAuth
login
logout
setTokenInvalidator
setTokenSetter
setTokenValidator
validateAuthentication
Sets the token validator.