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
/// Gets the authentication token for the specified impersonation identity. If necessary, the
706
+
/// identity is authenticated on the server to obtain a token.
707
+
/// </summary>
708
+
/// <remarks>
709
+
/// If <paramref name="forceCacheRefresh"/> is <c>false</c> and a cached <see cref="IdentityToken"/>
710
+
/// is available for the specified <paramref name="identity"/>, this method may return the cached
711
+
/// value without performing an authentication against the server. If <paramref name="forceCacheRefresh"/>
712
+
/// is <c>true</c>, this method always authenticates the identity with the server.
713
+
/// </remarks>
714
+
/// <param name="identity">The identity of the user to authenticate. If this value is <c>null</c>, the authentication is performed with the <see cref="DefaultIdentity"/>.</param>
715
+
/// <param name="forceCacheRefresh">If <c>true</c>, the user is always authenticated against the server; otherwise a cached <see cref="IdentityToken"/> may be returned.</param>
/// <exception cref="ArgumentNullException">If <paramref name="identity"/> is <c>null</c>.</exception>
718
+
/// <exception cref="NotSupportedException">If the provider does not support the given <paramref name="identity"/> type.</exception>
719
+
/// <exception cref="InvalidOperationException">If <paramref name="identity"/> is <c>null</c> and no default identity is available for the provider.</exception>
720
+
/// <exception cref="ResponseException">If the authentication request failed.</exception>
0 commit comments