IAuthorizationTokenProvider interface
Interface for a class that can retrieve authorization tokens to be used in fetch requests.
Methods
get |
Gets the authorization header to use in a fetch request |
Method Details
getAuthorizationHeader(boolean)
Gets the authorization header to use in a fetch request
function getAuthorizationHeader(forceRefresh?: boolean): Promise<string>
Parameters
- forceRefresh
-
boolean
If true, indicates that we should get a new token, if applicable for current provider.
Returns
Promise<string>
the value to use for the Authorization header in a request.
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示