StatusDetails

public struct StatusDetails : Codable, Equatable

Object that contains details about the status of the authentication process.

  • Indicates whether the credential is accepted by the target data source.

    Declaration

    Swift

    public var authenticated: Bool?
  • If authenticated is false, a message describes why the authentication was unsuccessful.

    Declaration

    Swift

    public var errorMessage: String?
  • Initialize a StatusDetails with member variables.

    Declaration

    Swift

    public init(
        authenticated: Bool? = nil,
        errorMessage: String? = nil
    )

    Parameters

    authenticated

    Indicates whether the credential is accepted by the target data source.

    errorMessage

    If authenticated is false, a message describes why the authentication was unsuccessful.

    Return Value

    An initialized StatusDetails.