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="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
74
74
/// <returns>The authorization code extracted from the callback, or null if the operation failed.</returns>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
10
10
/// <returns>A task that represents the asynchronous operation. The task result contains the authorization code if successful, or null if the operation failed or was cancelled.</returns>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
106
106
/// <returns>The authorization code entered by the user, or null if none was provided.</returns>
/// <param name="scheme">The authentication scheme to use.</param>
137
137
/// <param name="resourceUri">The URI of the resource requiring authentication.</param>
138
-
/// <param name="cancellationToken">A token to cancel the operation.</param>
138
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
139
139
/// <returns>An authentication token string, or null if no token could be obtained for the specified scheme.</returns>
/// <param name="scheme">The authentication scheme that was used when the unauthorized response was received.</param>
170
170
/// <param name="response">The HTTP response that contained the 401 status code.</param>
171
-
/// <param name="cancellationToken">A token to cancel the operation.</param>
171
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
172
172
/// <returns>
173
173
/// A result object indicating if the provider was able to handle the unauthorized response,
174
174
/// and the authentication scheme that should be used for the next attempt, if any.
@@ -186,7 +186,7 @@ public async Task HandleUnauthorizedResponseAsync(
186
186
/// Performs OAuth authorization by selecting an appropriate authorization server and completing the OAuth flow.
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
190
190
/// <returns>A result object indicating whether authorization was successful.</returns>
/// Fetches the protected resource metadata from the provided URL.
474
474
/// </summary>
475
475
/// <param name="metadataUrl">The URL to fetch the metadata from.</param>
476
-
/// <param name="cancellationToken">A token to cancel the operation.</param>
476
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
477
477
/// <returns>The fetched ProtectedResourceMetadata, or null if it couldn't be fetched.</returns>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
492
492
/// <returns>A task representing the asynchronous operation.</returns>
/// <param name="response">The HTTP response containing the WWW-Authenticate header.</param>
611
611
/// <param name="serverUrl">The server URL to verify against the resource metadata.</param>
612
-
/// <param name="cancellationToken">A token to cancel the operation.</param>
612
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
613
613
/// <returns>The resource metadata if the resource matches the server, otherwise throws an exception.</returns>
614
614
/// <exception cref="InvalidOperationException">Thrown when the response is not a 401, lacks a WWW-Authenticate header,
615
615
/// lacks a resource_metadata parameter, the metadata can't be fetched, or the resource URI doesn't match the server URL.</exception>
0 commit comments