Class AuthenticationRequiredException
An exception indicating that interactive authentication is required.
Inheritance
System.Exception
AuthenticationRequiredException
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Identity.dll
Syntax
[System.Serializable]
public class AuthenticationRequiredException : Azure.Identity.CredentialUnavailableException
Constructors
AuthenticationRequiredException(SerializationInfo, StreamingContext)
A constructor used for serialization.
Declaration
protected AuthenticationRequiredException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Parameters
|
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo. |
|
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext. |
AuthenticationRequiredException(String, TokenRequestContext)
Creates a new AuthenticationRequiredException with the specified message and context.
Declaration
public AuthenticationRequiredException (string message, Azure.Core.TokenRequestContext context);
Parameters
|
System.String
message
The message describing the authentication failure. |
|
Azure.Core.TokenRequestContext
context
The details of the authentication request. |
AuthenticationRequiredException(String, TokenRequestContext, Exception)
Creates a new AuthenticationRequiredException with the specified message, context and inner exception.
Declaration
public AuthenticationRequiredException (string message, Azure.Core.TokenRequestContext context, Exception innerException);
Parameters
|
System.String
message
The message describing the authentication failure. |
|
Azure.Core.TokenRequestContext
context
The details of the authentication request. |
|
System.Exception
innerException
The exception underlying the authentication failure. |
Properties
TokenRequestContext
The details of the authentication request which resulted in the authentication failure.
Declaration
public Azure.Core.TokenRequestContext TokenRequestContext { get; }
Property Value
|
Azure.Core.TokenRequestContext
|