3.45Setting Bearer authentication (JWT)

Created on Aug 17, 2026~1 min read

Adds an Authorization header to the request in the format of the Bearer keyword followed by the Token string.

cs
HttpRequestBuilder.Post("https://furion.net/")    .AddBearerAuthentication("your-token");HttpRequestBuilder.Post("https://furion.net/")    .AddBearerAuthentication("X-Authorization", "your-token");  // Supports a custom header key