src/AuthProvider/Token.php
private function generatePrivateECKey(): JWK
    {
        return JWKFactory::createFromKeyFile($this->privateKeyPath, $this->privateKeySecret, [
            'kid' => $this->keyId,
            'alg' => 'ES512',
            'use' => 'sig'
        ]);
    }
private function generatePrivateECKey(): JWK
    {
        return JWKFactory::createFromKeyFile($this->privateKeyPath, $this->privateKeySecret, [
            'kid' => $this->keyId,
            'alg' => 'ES512',
            'use' => 'sig'
        ]);
    }
private function generatePrivateECKey ( ) : JWK { return JWKFactory :: createFromKeyFile ( $ this -> privateKeyPath , $ this -> privateKeySecret , [ 'kid' => $ this -> keyId , 'alg' => 'ES512' , 'use' => 'sig' ] ) ; }
Generate private EC key.

@return JWK
Generate private EC key .