FirebaseAuth Framework Reference

FIRActionCodeURL

@interfaceFIRActionCodeURL:NSObject

This 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 ofFIRActionCodeOperation type. It will returnFIRActionCodeOperationUnknown if 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 anActionCodeURL from an out of band link (e.g. email link).

    Declaration

    Objective-C

    +(nullableinstancetype)actionCodeURLWithLink:(nonnullNSString*)link;

    Parameters

    link

    The oob link string used to construct the action code URL.

    Return Value

    TheActionCodeURL object constructed based on the oob link provided.

  • Please useinit(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.