Final Class Yiisoft\Auth\Jwt\KeyFactory\FromKeyFile
| Inheritance | Yiisoft\Auth\Jwt\KeyFactory\FromKeyFile |
|---|---|
| Implements | Yiisoft\Auth\Jwt\KeyFactoryInterface |
Creates JWK from a password-protected key file.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Auth\Jwt\KeyFactory\FromKeyFile | |
| create() | Yiisoft\Auth\Jwt\KeyFactory\FromKeyFile |
Method Details
| public mixed __construct ( string $file, string $password ) | ||
| $file | string | |
| $password | string | |
public function __construct(private readonly string $file, private readonly string $password)
{
}
Signup or Login in order to comment.