Table of Contents

Class AuthenticationRequiredException

Namespace
Azure.Identity
Assembly
Azure.Identity.dll

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 SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.

AuthenticationRequiredException(string, TokenRequestContext)

Creates a new AuthenticationRequiredException with the specified message and context.

public AuthenticationRequiredException(string message, TokenRequestContext context)

Parameters

message string

The message describing the authentication failure.

context TokenRequestContext

The 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 string

The message describing the authentication failure.

context TokenRequestContext

The details of the authentication request.

innerException Exception

The 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