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