Share via


AuthenticationRequiredException Class

Definition

An exception indicating that interactive authentication is required.

[System.Serializable]
public class AuthenticationRequiredException : Azure.Identity.CredentialUnavailableException
[<System.Serializable>]
type AuthenticationRequiredException = class
    inherit CredentialUnavailableException
Public Class AuthenticationRequiredException
Inherits CredentialUnavailableException
Inheritance
Attributes

Constructors

AuthenticationRequiredException(SerializationInfo, StreamingContext)

A constructor used for serialization.

AuthenticationRequiredException(String, TokenRequestContext, Exception)

Creates a new AuthenticationRequiredException with the specified message, context and inner exception.

AuthenticationRequiredException(String, TokenRequestContext)

Creates a new AuthenticationRequiredException with the specified message and context.

Properties

TokenRequestContext

The details of the authentication request which resulted in the authentication failure.

Applies to