AuthenticationSessionEndedDelegateProtocol

Objective-C

@protocol AuthenticationSessionEndedDelegateProtocol <NSObject>

Swift

protocol AuthenticationSessionEndedDelegateProtocol : NSObjectProtocol

A protocol to let the app know about the last authentication session

  • called when a candidate ready for authentication has been found (called after frameAnalysedWithResult)

    Declaration

    Objective-C

    - (void)authenticationSessionEndedCandidateFound:(id)candidate;

    Swift

    func authenticationSessionEndedCandidateFound(_ candidate: Any!)
  • called when the authentication session timed out (no scan with a good enough quality has been found) the best candidate is provided

    Declaration

    Objective-C

    - (void)authenticationSessionEndedTimeOut:(id)bestCandidate;

    Swift

    func authenticationSessionEndedTimeOut(_ bestCandidate: Any!)
  • called when the authentication session timed out (no scans have been found at all) the content is provided

    Declaration

    Objective-C

    - (void)authenticationSessionEndedTimeOutWithoutCandidate:(id)content;

    Swift

    func authenticationSessionEndedTimeOutWithoutCandidate(_ content: Any!)
  • called when an error occurred during the auth process preventing the session to continue (no parameters, …)

    Declaration

    Objective-C

    - (void)authenticationSessionEndedError;

    Swift

    func authenticationSessionEndedError()
  • called when the extended id of the code doesn’t exist on the system

    Declaration

    Objective-C

    - (void)authenticationSessionEndedCodeNotFound:(id)content;

    Swift

    func authenticationSessionEndedCodeNotFound(_ content: Any!)
  • called when a code that is not a scantrust secure code (e.g. third party or ID only) is read

    Declaration

    Objective-C

    - (void)authenticationSessionEndedNoAuthCode:(id)content;

    Swift

    func authenticationSessionEndedNoAuthCode(_ content: Any!)
  • called when a code that is not a scantrust code

    Declaration

    Objective-C

    - (void)authenticationSessionEndedThirdPartyContent:(nonnull NSString *)content;

    Swift

    func authenticationSessionEndedThirdPartyContent(_ content: String)

    Parameters

    content

    content of the scanned code