You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="message">The <see cref="HttpMessage"/> to be authenticated.</param>
37
-
/// <param name="context">If the return value is <c>true</c>, a <see cref="TokenRequestContext"/>.</param>
38
-
/// <returns>A boolean indicated whether the request contained a valid challenge and a <see cref="TokenRequestContext"/> was successfully initialized with it.</returns>
/// Executes before <see cref="ProcessAsync(HttpMessage, ReadOnlyMemory{HttpPipelinePolicy})"/> or <see cref="Process(HttpMessage, ReadOnlyMemory{HttpPipelinePolicy})"/> is called.
63
+
/// Implementers of this method are expected to call <see cref="SetAuthorizationHeader(HttpMessage, TokenRequestContext, bool)"/> if authorization is required for requests not related to handling a challenge response.
64
+
/// </summary>
65
+
/// <param name="message">The <see cref="HttpMessage"/> this policy would be applied to.</param>
66
+
/// <param name="async">Indicates whether the method was called from an asynchronous context.</param>
67
+
/// <returns>The <see cref="ValueTask"/> representing the asynchronous operation.</returns>
/// Executed in the event a 401 response with a WWW-Authenticate authentication challenge header is received after the initial request.
62
76
/// </summary>
63
-
/// <remarks>Service client libraries may derive from this and extend to handle service specific authentication challenges.</remarks>
77
+
/// <remarks>Service client libraries may override this to handle service specific authentication challenges.</remarks>
64
78
/// <param name="message">The <see cref="HttpMessage"/> to be authenticated.</param>
65
-
/// <param name="context">If the return value is <c>true</c>, a <see cref="TokenRequestContext"/>.</param>
66
-
/// <returns>A boolean indicated whether the request contained a valid challenge and a <see cref="TokenRequestContext"/> was successfully initialized with it.</returns>
0 commit comments