0 follower

Interface Yiisoft\Auth\Jwt\KeyFactoryInterface

Implemented byYiisoft\Auth\Jwt\KeyFactory\FromCertificateFile, Yiisoft\Auth\Jwt\KeyFactory\FromKeyFile, Yiisoft\Auth\Jwt\KeyFactory\FromPKCS12CertificateFile, Yiisoft\Auth\Jwt\KeyFactory\FromSecret

Key factory creates a JSON Web Key.

See also https://tools.ietf.org/html/rfc7517.

Public Methods

Hide inherited methods

Method Description Defined By
create() Create a key with additional values. Yiisoft\Auth\Jwt\KeyFactoryInterface

Method Details

Hide inherited methods

create() public abstract method

Create a key with additional values.

public abstract \Jose\Component\Core\JWK create ( array $additionalValues = [] )
$additionalValues array
return \Jose\Component\Core\JWK

JSON Web Key.

                public function create(array $additionalValues = []): JWK;