[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# RecaptchaEnterprise Framework Reference\n\nRecaptchaAction\n===============\n\n @interface RecaptchaAction : NSObject\n\nAction intended to be protected by reCAPTCHA. This object should be passed\nto RecaptchaClient.execute.\n- `\n ``\n ``\n `\n\n ### [-initWithCustomAction:](#/c:objc(cs)RecaptchaAction(im)initWithCustomAction:)\n\n `\n ` \n Creates an object with a custom action from a String. \n\n #### Declaration\n\n Swift \n\n init(customAction: String)\n\n Objective-C \n\n - (instancetype _Nonnull)initWithCustomAction:(NSString *_Nonnull)customAction;\n\n- `\n ``\n ``\n `\n\n ### [login](#/c:objc(cs)RecaptchaAction(cpy)login)\n\n `\n ` \n Indicates that the protected action is a Login workflow. \n\n #### Declaration\n\n Swift \n\n class var login: RecaptchaAction { get }\n\n Objective-C \n\n @property (class, nonatomic, readonly) RecaptchaAction *_Nonnull login;\n\n- `\n ``\n ``\n `\n\n ### [signup](#/c:objc(cs)RecaptchaAction(cpy)signup)\n\n `\n ` \n Indicates that the protected action is a Signup workflow. \n\n #### Declaration\n\n Swift \n\n class var signup: RecaptchaAction { get }\n\n Objective-C \n\n @property (class, nonatomic, readonly) RecaptchaAction *_Nonnull signup;\n\n- `\n ``\n ``\n `\n\n ### [action](#/c:objc(cs)RecaptchaAction(py)action)\n\n `\n ` \n A String representing the action. \n\n #### Declaration\n\n Swift \n\n var action: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull action;\n\n[Deprecated APIs and properties.\n-------------------------------](#/Deprecated-APIs-and-properties.)\n\n- `\n ``\n ``\n `\n\n ### [actionType](#/c:objc(cs)RecaptchaAction(py)actionType)\n\n `\n ` \n Deprecated\n\n RecaptchaActionType is not used. \n Action that is intended for reCAPTCHA to protect. \n\n #### Declaration\n\n Swift \n\n var actionType: ../Enums/RecaptchaActionType.html { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Enums/RecaptchaActionType.html actionType;\n\n- `\n ``\n ``\n `\n\n ### [extraParameters](#/c:objc(cs)RecaptchaAction(py)extraParameters)\n\n `\n ` \n Deprecated\n\n extraParameters is not used anywhere in the code \n Extra parameters to send during call to execute. \n\n #### Declaration\n\n Swift \n\n var extraParameters: [AnyHashable : Any]? { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSDictionary *_Nullable extraParameters;\n\n- `\n ``\n ``\n `\n\n ### [-initWithAction:](#/c:objc(cs)RecaptchaAction(im)initWithAction:)\n\n `\n ` \n Deprecated\n\n Use initWithCustomAction instead. \n Creates an object with a predefined reCAPTCHA action. \n\n #### Declaration\n\n Swift \n\n init(action: ../Enums/RecaptchaActionType.html)\n\n Objective-C \n\n - (instancetype _Nonnull)initWithAction:(../Enums/RecaptchaActionType.html)action;\n\n- `\n ``\n ``\n `\n\n ### [customAction](#/c:objc(cs)RecaptchaAction(py)customAction)\n\n `\n ` \n Deprecated\n\n Use RecaptchaAction.action instead of customAction. \n A customized action. \n\n #### Declaration\n\n Swift \n\n var customAction: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull customAction;\n\n- `\n ``\n ``\n `\n\n ### [-initWithAction:extraParameters:](#/c:objc(cs)RecaptchaAction(im)initWithAction:extraParameters:)\n\n `\n ` \n Deprecated\n\n Use initWithCustomAction instead. \n Creates an object with a predefined reCAPTCHA action and extra parameters. \n\n #### Declaration\n\n Swift \n\n init(action: ../Enums/RecaptchaActionType.html, extraParameters: [String : String]?)\n\n Objective-C \n\n - (instancetype _Nonnull)initWithAction:(../Enums/RecaptchaActionType.html)action\n extraParameters:\n (NSDictionary\u003cNSString *, NSString *\u003e *_Nullable)\n ../Classes/RecaptchaAction.html#/c:objc(cs)RecaptchaAction(py)extraParameters;\n\n- `\n ``\n ``\n `\n\n ### [-initWithCustomAction:extraParameters:](#/c:objc(cs)RecaptchaAction(im)initWithCustomAction:extraParameters:)\n\n `\n ` \n Deprecated\n\n Use initWithCustomAction(customAction:) without extraParameters instead. \n Creates an object with a custom action from a String and extra parameters. \n\n #### Declaration\n\n Swift \n\n init(customAction: String, extraParameters: [String : String]?)\n\n Objective-C \n\n - (instancetype _Nonnull)\n initWithCustomAction:(NSString *_Nonnull)customAction\n extraParameters:\n (NSDictionary\u003cNSString *, NSString *\u003e *_Nullable)extraParameters;"]]