<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.
public string Scheme { get; }

Gets the scheme.

public AuthorizeAttribute(string scheme = "Bearer")

Add the Authorize header to the request with the value of the associated parameter.