FirebaseAuth Framework Reference Stay organized with collections Save and categorize content based on your preferences.
FIRActionCodeURL
@interfaceFIRActionCodeURL:NSObjectThis class will allow developers to easily extract information about out of band links.
Returns the API key from the link. nil, if not provided.
Declaration
Objective-C
@property(nonatomic,copy,readonly,nullable)NSString*APIKey;Returns the mode of oob action. The property will be of
FIRActionCodeOperationtype. It will returnFIRActionCodeOperationUnknownif no oob action is provided.Declaration
Objective-C
@property(nonatomic,readonly)FIRActionCodeOperationoperation;Returns the email action code from the link. nil, if not provided.
Declaration
Objective-C
@property(nonatomic,copy,readonly,nullable)NSString*code;Returns the continue URL from the link. nil, if not provided.
Declaration
Objective-C
@property(nonatomic,copy,readonly,nullable)NSURL*continueURL;Returns the language code from the link. nil, if not provided.
Declaration
Objective-C
@property(nonatomic,copy,readonly,nullable)NSString*languageCode;Construct an
ActionCodeURLfrom an out of band link (e.g. email link).Declaration
Objective-C
+(nullableinstancetype)actionCodeURLWithLink:(nonnullNSString*)link;Parameters
linkThe oob link string used to construct the action code URL.
Return Value
The
ActionCodeURLobject constructed based on the oob link provided.Please use
init(link:)in Swift oractionCodeURLWithLink:in Objective-C instead.Declaration
Objective-C
-(nonnullinstancetype)init;
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-05-04 UTC.