<PackageReference Include="Refit" Version="16.0.0" />

Refit.AuthorizeAttribute

public sealed class AuthorizeAttribute : Attribute
Add the Authorize header to the request with the value of the associated parameter.
namespace Refit { public sealed class AuthorizeAttribute : Attribute { public string Scheme { get; } public AuthorizeAttribute(string scheme = "Bearer"); } }