setTokenValidator

Sets the token validator.

  1. void setTokenValidator(Role function(string, HttpClient) validator)
    static if(isWeb)
    void
    setTokenValidator
    (
    Role function
    (
    string
    ,
    HttpClient
    )
    validator
    )
  2. void setTokenValidator(Role delegate(string, HttpClient) validator)

Parameters

validator Role function
(
string
,
HttpClient
)

The validator.

Meta