Skip to main content

APIAuthorization

Defines how Request authorization headers are generated.

This can be implemented by some class or type that knows how to generate an authorization header.

Index

Properties

optionalreadonlyauthorizationHeaders

authorizationHeaders?: {}

The value of the authorization headers, or nil if none should be set.

This is adopted by Token to allow it to automatically generate outgoing headers, but it can also be implemented by other types as needed.


Type declaration

  • [index string]: string
Page Options