zestic / codeception-jwt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codeception JWT

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

About


Languages

Language:PHP 100.0%