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. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기