CSRF Actions

Centum\Codeception\Actions\CsrfActions

grabCsrfGenerator

Grab the CSRF Generator from the Container.

grabCsrfGenerator(): Centum\Interfaces\Http\Csrf\GeneratorInterface

grabCsrfStorage

Grab the CSRF Storage from the Container.

grabCsrfStorage(): Centum\Interfaces\Http\Csrf\StorageInterface

getCsrfValue

Get the current CSRF value.

getCsrfValue(): string

resetCsrfValue

Reset the CSRF value, forcing it to be regenerated the next time it is needed.

resetCsrfValue(): void

assumeCsrfIsValid

Replace the CSRF Validator with a mock that simply returns true for everything.

assumeCsrfIsValid(): void