Class AuthenticationRequiredException
An exception indicating that interactive authentication is required.
public class AuthenticationRequiredException : CredentialUnavailableException, ISerializable
- Inheritance
-
AuthenticationRequiredException
- Implements
- Inherited Members
Constructors
AuthenticationRequiredException(SerializationInfo, StreamingContext)
A constructor used for serialization.
protected AuthenticationRequiredException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.
AuthenticationRequiredException(string, TokenRequestContext)
Creates a new AuthenticationRequiredException with the specified message and context.
public AuthenticationRequiredException(string message, TokenRequestContext context)
Parameters
message
stringThe message describing the authentication failure.
context
TokenRequestContextThe details of the authentication request.
AuthenticationRequiredException(string, TokenRequestContext, Exception)
Creates a new AuthenticationRequiredException with the specified message, context and inner exception.
public AuthenticationRequiredException(string message, TokenRequestContext context, Exception innerException)
Parameters
message
stringThe message describing the authentication failure.
context
TokenRequestContextThe details of the authentication request.
innerException
ExceptionThe exception underlying the authentication failure.
Properties
TokenRequestContext
The details of the authentication request which resulted in the authentication failure.
public TokenRequestContext TokenRequestContext { get; }
Property Value
- TokenRequestContext