Interface Yiisoft\Csrf\Hmac\IdentityGenerator\CsrfTokenIdentityGeneratorInterface
| Implemented by | Yiisoft\Csrf\Hmac\IdentityGenerator\SessionCsrfTokenIdentityGenerator |
|---|
Identity generator returns an ID to be used for the {@see \Yiisoft\Csrf\Hmac\HmacCsrfToken}.
For example, using session ID makes the session a token scope.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| generate() | Yiisoft\Csrf\Hmac\IdentityGenerator\CsrfTokenIdentityGeneratorInterface |
Signup or Login in order to comment.