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
@@ -106,6 +109,64 @@ public static HttpClient Create(
106
109
returnclient;
107
110
}
108
111
112
+
/// <summary>
113
+
/// Creates a new <see cref="HttpClient"/> instance configured to authenticate requests using the provided <see cref="BaseBearerTokenAuthenticationProvider"/>.
114
+
/// </summary>
115
+
/// <param name="authenticationProvider">The authentication provider to initialise the Authorization handler</param>
116
+
/// <param name="handlers">Custom middleware pipeline to which the Authorization handler is appended. If null, default handlers are initialised</param>
117
+
/// <param name="version">The Graph version to use in the base URL</param>
118
+
/// <param name="nationalCloud">The national cloud endpoint to use</param>
119
+
/// <param name="proxy">The proxy to be used with the created client</param>
120
+
/// <param name="finalHandler">The last HttpMessageHandler to HTTP calls.</param>
121
+
/// <param name="disposeHandler">true if the inner handler should be disposed of by Dispose(), false if you intend to reuse the inner handler..</param>
/// Creates a new <see cref="HttpClient"/> instance configured to authenticate requests using the provided <see cref="TokenCredential"/>.
142
+
/// </summary>
143
+
/// <param name="tokenCredential">Token credential object use to initialise an <see cref="AzureIdentityAuthenticationProvider"></param>
144
+
/// <param name="handlers">Custom middleware pipeline to which the Authorization handler is appended. If null, default handlers are initialised</param>
145
+
/// <param name="version">The Graph version to use in the base URL</param>
146
+
/// <param name="nationalCloud">The national cloud endpoint to use</param>
147
+
/// <param name="proxy">The proxy to be used with the created client</param>
148
+
/// <param name="finalHandler">The last HttpMessageHandler to HTTP calls</param>
149
+
/// <param name="disposeHandler">true if the inner handler should be disposed of by Dispose(), false if you intend to reuse the inner handler..</param>
0 commit comments