InquiryDelegate

public protocol InquiryDelegate : AnyObject

Methods for managing verification results. Please note: all methods will be called from the main thread.

  • Called on a successful inquiry.

    Declaration

    Swift

    func inquirySuccess(inquiryId: String, attributes: Attributes, relationships: Relationships)

    Parameters

    inquiryId

    a unique Persona-generated identifier for the inquiry

    attributes

    consolidated information collected in the inquiry about the individual

    relationships

    individual components that are collected through the Inquiry

  • Called when the invidual fails the inquiry.

    Declaration

    Swift

    func inquiryFailed(inquiryId: String, attributes: Attributes, relationships: Relationships)

    Parameters

    inquiryId

    a unique Persona-generated identifier for the inquiry

    attributes

    consolidated information collected in the inquiry about the individual

    relationships

    individual components that are collected through the Inquiry

  • Called when the individual cancels the inquiry.

    Declaration

    Swift

    func inquiryCancelled()
  • Called when there is a problem during the Inquiry flow.

    Declaration

    Swift

    func inquiryError(_ error: Error)

    Parameters

    error

    the reason why the Inquiry did not complete correctly