MSALNativeAuthError

@objcMembers
public class MSALNativeAuthError : NSObject, LocalizedError

Class that defines the basic structure of a Native Auth error

  • Describes why an error occurred and provides more information about the error.

    Declaration

    Swift

    public var errorDescription: String? { get }
  • Correlation ID used for the request

    Declaration

    Swift

    public let correlationId: UUID
  • Error codes returned along with the error

    Declaration

    Swift

    public let errorCodes: [Int]
  • Error uri that can be followed to get more information about the error returned by the server

    Declaration

    Swift

    public let errorUri: String?
  • Indicates whether the error can only be resolved by falling back to the browser-based interactive flow.

    Declaration

    Swift

    public let isBrowserRequired: Bool
  • Indicates whether the error is an unclassified or unexpected error with no more specific handling.

    Declaration

    Swift

    public let isGeneralError: Bool