AuthorizationHeaderProviderOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options passed-in to call downstream web APIs. To call Microsoft Graph, see rather
MicrosoftGraphOptions
in the Microsoft.Identity.Web.MicrosoftGraph
assembly.
public class AuthorizationHeaderProviderOptions
type AuthorizationHeaderProviderOptions = class
Public Class AuthorizationHeaderProviderOptions
- Inheritance
-
AuthorizationHeaderProviderOptions
- Derived
Constructors
AuthorizationHeaderProviderOptions() |
Default constructor. |
AuthorizationHeaderProviderOptions(AuthorizationHeaderProviderOptions) |
Copy constructor for AuthorizationHeaderProviderOptions |
Properties
AcquireTokenOptions |
Options related to token acquisition. |
BaseUrl |
Base URL for the called downstream web API. For instance |
CustomizeHttpRequestMessage |
Provides an opportunity for the caller app to customize the HttpRequestMessage. For example, to customize the headers. This is called after the message was formed, including the Authorization header, and just before the message is sent. |
HttpMethod |
HTTP method used to call this downstream web API (by default Get). |
ProtocolScheme |
Name of the protocol scheme used to create the authorization header. By default: "Bearer". |
RelativePath |
Path relative to the BaseUrl (for instance "me"). |
RequestAppToken |
Describes if the downstream API is called on behalf of the calling service itself
(App token) or on behalf of a user processed by the service (user token).
If |
Methods
Clone() |
Clone the options (to be able to override them). |
CloneInternal() |
Clone the options (to be able to override them). |
GetApiUrl() |
Return the downstream web API URL. |