src/RouterCollection.php
private function setOptions(array $route, array $options): void
    {
        if (array_key_exists('jwt', $options['options'])) {
            //only add if we want to ignore this url
            if (!$options['options']['jwt']) {
                self::$hasJwtOptionsSetup = true;
                //we group them by method and hash the pattern to make it a faster lookup
                self::$jwt[strtoupper($route['method'])][md5($this->prefix . $route['pattern'])] = $this->prefix . $route['pattern'];
            }
        }
    }
private function setOptions(array $route, array $options): void
    {
        if (array_key_exists('jwt', $options['options'])) {
            //only add if we want to ignore this url
            if (!$options['options']['jwt']) {
                self::$hasJwtOptionsSetup = true;
                //we group them by method and hash the pattern to make it a faster lookup
                self::$jwt[strtoupper($route['method'])][md5($this->prefix . $route['pattern'])] = $this->prefix . $route['pattern'];
            }
        }
    }
private function setOptions ( array $ route , array $ options ) : void { if ( array_key_exists ( 'jwt' , $ options [ 'options' ] ) ) { //only add if we want to ignore this url if ( ! $ options [ 'options' ] [ 'jwt' ] ) { self :: $ hasJwtOptionsSetup = true ; //we group them by method and hash the pattern to make it a faster lookup self :: $ jwt [ strtoupper ( $ route [ 'method' ] ) ] [ md5 ( $ this -> prefix . $ route [ 'pattern' ] ) ] = $ this -> prefix . $ route [ 'pattern' ] ; } } }
Set routers options JWT.

@todo add Middleware that the router will call
@param array $route
@param array $options
@return void
Set routers options JWT .