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
/// Sets Microsoft Graph's scopes to the default Authentication Middleware Handler for this request in order to perform incremental conscent.
17
39
/// This only works with the default authentication handler and default set of Microsoft graph authentication providers.
@@ -60,24 +82,27 @@ public static T WithForceRefresh<T>(this T baseRequest, bool forceRefresh) where
60
82
}
61
83
62
84
/// <summary>
63
-
/// Sets an authentication provider to the default Authentication Middleware Handler for this request.
85
+
/// Sets the PerRequestAuthProvider delegate handler to the default Authentication Middleware Handler to authenticate a single request.
86
+
/// The PerRequestAuthProvider delegate handler must be set to the GraphServiceClient instance before using this extension method otherwise, it defaults to the default authentication provider.
64
87
/// This only works with the default authentication handler.
65
88
/// If you use a custom authentication handler, you have to handle it's retreival in your implementation.
66
89
/// </summary>
67
90
/// <typeparam name="T"></typeparam>
68
91
/// <param name="baseRequest">The <see cref="BaseRequest"/> for the request.</param>
0 commit comments