Options
Less than 1 minute
Options
Inbound token extraction defaults to standard Authorization headers:
class Options extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
- Access token:
Authorization: Bearer <token> - Refresh token:
Authorization: Refresh <token>
Outbound token emission is optional (emit_headers) and uses advisory headers by default:
X-Auth-Access-TokenX-Auth-Refresh-Token
Properties
name
public string $name = 'Authorization'Type: string
prefix
public string $prefix = 'Bearer'Type: string
refresh_name
public string $refresh_name = 'Authorization'Type: string
refresh_prefix
public string $refresh_prefix = 'Refresh'Type: string
emit_headers
public bool $emit_headersType: bool
advisory_name
public string $advisory_name = 'X-Auth-Access-Token'Type: string
advisory_prefix
public string $advisory_prefixType: string
advisory_refresh_name
public string $advisory_refresh_name = 'X-Auth-Refresh-Token'Type: string
advisory_refresh_prefix
public string $advisory_refresh_prefixType: string
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000