Options
Less than 1 minute
Options
class Options extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Properties
alg
public string $alg = 'HS256'Type: string
issuer
public string $issuerType: string
expire
public int $expire = 3600Type: int
refresh
public int $refresh = 86400Type: int
passphrase
public string $passphrase = 'hazaar_default_jwt_passphrase_change_me'Type: string
fingerprintKeys
HTTP headers used for device fingerprinting, binding both access and refresh tokens to
public array $fingerprintKeys = array (
0 => 'HTTP_USER_AGENT',
1 => 'HTTP_ACCEPT',
)Type: array
the device they were issued to. An empty array opts out of binding entirely.
refresh_tokens
Refresh token store class-string or an already-constructed
public mixed $refresh_tokens = 'RefreshTokenStore'Type: mixed
Hazaar\Auth\Interface\RefreshTokenStore instance.
refresh_tokens_options
Options passed through to the refresh token store's constructor.
public array $refresh_tokens_optionsType: array
privateKey
public string $privateKeyType: string
publicKey
public string $publicKeyType: string
privateKeyFile
public string $privateKeyFileType: string
publicKeyFile
public string $publicKeyFileType: string
privateKeyPassphrase
public string $privateKeyPassphraseType: string
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:44 +0000