Optional
Authorization?: stringconst authHeader: AuthHeader = {
Authorization: 'Bearer <token>',
}
// Usage in an HTTP request
const requestOptions: RequestOptions = {
headers: authHeader,
// other request options...
}
Generated using TypeDoc
Represents an authentication header for making authorized HTTP requests.