Delen via


MsalError Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.MsalError

public class MsalError

Error code returned as a property in MsalException.

Field Summary

Modifier and Type Field and Description
static final java.lang.String INVALID_MANAGED_IDENTITY_ENDPOINT

Invalid managed identity endpoint.

static final java.lang.String MANAGED_IDENTITY_FILE_READ_ERROR
static final java.lang.String MANAGED_IDENTITY_REQUEST_FAILED

Managed Identity error response was received.

static final java.lang.String MANAGED_IDENTITY_UNREACHABLE_NETWORK

Managed Identity endpoint is not reachable.

static final java.lang.String RESOURCE_REQUIRED_MANAGED_IDENTITY

Resource is required to fetch a token using managed identity.

static final java.lang.String USER_ASSIGNED_MANAGED_IDENTITY_NOT_SUPPORTED

User assigned managed identity is not supported for this source.

Constructor Summary

Constructor Description
MsalError()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

INVALID_MANAGED_IDENTITY_ENDPOINT

public static final String INVALID_MANAGED_IDENTITY_ENDPOINT

Invalid managed identity endpoint.

MANAGED_IDENTITY_FILE_READ_ERROR

public static final String MANAGED_IDENTITY_FILE_READ_ERROR

MANAGED_IDENTITY_REQUEST_FAILED

public static final String MANAGED_IDENTITY_REQUEST_FAILED

Managed Identity error response was received.

MANAGED_IDENTITY_UNREACHABLE_NETWORK

public static final String MANAGED_IDENTITY_UNREACHABLE_NETWORK

Managed Identity endpoint is not reachable.

RESOURCE_REQUIRED_MANAGED_IDENTITY

public static final String RESOURCE_REQUIRED_MANAGED_IDENTITY

Resource is required to fetch a token using managed identity.

USER_ASSIGNED_MANAGED_IDENTITY_NOT_SUPPORTED

public static final String USER_ASSIGNED_MANAGED_IDENTITY_NOT_SUPPORTED

User assigned managed identity is not supported for this source.

Constructor Details

MsalError

public MsalError()

Applies to