TGFFido2RespondArgs

Objective-C


@interface TGFFido2RespondArgs : NSObject

Swift

class TGFFido2RespondArgs : NSObject

An immutable object that encapsulates all the arguments required to process a FIDO2 request.

@since 1.0.0

  • The FIDO2 request to be processed.

    Declaration

    Objective-C

    @property (readonly) TGFFido2Request *_Nonnull request;

    Swift

    var request: TGFFido2Request { get }
  • A delegate responsible for handling common UI events during the FIDO2 operation, regardless of the authenticator used. This object is not retained.

    Declaration

    Objective-C

    @property (weak, readonly) id<TGFFido2UiDelegate> _Nullable uiDelegate;

    Swift

    weak var uiDelegate: (any TGFFido2UiDelegate)? { get }
  • An instance of the passcode authenticator to be used for this operation, if applicable.

    Declaration

    Objective-C

    @property (readonly) TGFPasscodeAuthenticator *_Nullable passcodeAuthenticator;

    Swift

    var passcodeAuthenticator: TGFPasscodeAuthenticator? { get }
  • A delegate for handling UI specific to the biometric authenticator. This object is not retained.

    Declaration

    Objective-C

    @property (weak) id< TGFBiometricAuthenticatorDelegate> _Nullable uiBiometricAuthenticatorDelegate;

    Swift

    weak var uiBiometricAuthenticatorDelegate: (any TGFBiometricAuthenticatorDelegate)? { get set }
  • A delegate for handling UI specific to the passcode authenticator. This object is not retained.

    Declaration

    Objective-C

    @property (weak) id< TGFPasscodeAuthenticatorDelegate> _Nullable uiPasscodeAuthenticatorDelegate;

    Swift

    weak var uiPasscodeAuthenticatorDelegate: (any TGFPasscodeAuthenticatorDelegate)? { get set }
  • A delegate that provides a presentation context for the platform authenticator UI (e.g., system prompts for Touch ID/Face ID). This object is not retained.

    @since 1.4.0

    Declaration

    Objective-C

    @property (weak) id< ASAuthorizationControllerPresentationContextProviding> _Nullable uiPlatformAuthenticatorDelegate;

    Swift

    weak var uiPlatformAuthenticatorDelegate: (any ASAuthorizationControllerPresentationContextProviding)? { get set }
  • Wipes sensitive data from the object.

    Declaration

    Objective-C

    - (void)wipe;

    Swift

    func wipe()