zestic/codeception-jwt

Asserts for jwt token

Maintainers

Package info

github.com/zestic/codeception-jwt

pkg:composer/zestic/codeception-jwt

Statistics

Installs: 32

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.0 2022-10-20 05:50 UTC

This package is auto-updated.

Last update: 2026-02-20 13:51:19 UTC


README

A codeception extension for asserting JWT

Installation

composer require zestic/codeception-jwt --dev

To configure

In your acceptance.suite.yml file

modules:
    enabled:
        - JWT:
            algorithm:
            publicKeyPath:
            privateKeyPath:
            tokenTtl: 

In your composer.json

{
    "repositories": {
        "zestic/codeception-jwt": {
            "type": "vcs",
            "url": "git@gitlab.com:zestic/codeception-jwt.git"
        },
    }
}

Testing

To use it in a test