public final class AuthenticationRequiredException extends CredentialUnavailableException
| Constructor and Description |
|---|
AuthenticationRequiredException(String message,
com.azure.core.credential.TokenRequestContext request)
Initializes a new instance of the
AuthenticationRequiredException class. |
AuthenticationRequiredException(String message,
com.azure.core.credential.TokenRequestContext request,
Throwable cause)
Initializes a new instance of the
AuthenticationRequiredException class. |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.credential.TokenRequestContext |
getTokenRequestContext()
Get the details of the authentication request which resulted in the authentication failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthenticationRequiredException(String message, com.azure.core.credential.TokenRequestContext request)
AuthenticationRequiredException class.message - The exception message.request - The details of the authentication request.public AuthenticationRequiredException(String message, com.azure.core.credential.TokenRequestContext request, Throwable cause)
AuthenticationRequiredException class.message - The exception message.request - The details of the authentication request.cause - The Throwable which caused the creation of this exception.Copyright © 2021 Microsoft Corporation. All rights reserved.