# Câu hỏi thường gặp

## 1. Bearer Token là gì? <a href="#id-1.-what-is-a-bearer-token" id="id-1.-what-is-a-bearer-token"></a>

Bearer authentication là một phương thức xác thực HTTP (còn được gọi là xác thực token) mà liên quan đến các token bảo mật được gọi là bearer tokens. Tên "Bearer authentication" có thể hiểu là "cho phép truy cập cho người mang mã thông báo này." Token bearer là một chuỗi mật mã, thường được tạo ra bởi máy chủ trong phản hồi cho một yêu cầu đăng nhập. Khách hàng phải gửi mã thông báo này trong tiêu đề Authorization khi gửi các yêu cầu đến các tài nguyên được bảo vệ:

```
Authorization: Bearer <token>
```

Phương pháp xác thực Bearer ban đầu được tạo ra như một phần của OAuth 2.0 trong RFC 6750, nhưng đôi khi cũng được sử dụng riêng lẻ. Tương tự như xác thực Basic, xác thực Bearer chỉ nên được sử dụng trên HTTPS (SSL).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.chatx.vn/document-chatx/huong-dan-su-dung/phat-hanh-ung-dung-chatx/phat-trien-voi-api/cau-hoi-thuong-gap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
