FirebaseAuth Framework Reference

FIRActionCodeURL


@interface FIRActionCodeURL : 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 of FIRActionCodeOperation type. It will return FIRActionCodeOperationUnknown if no oob action is provided.

    Declaration

    Objective-C

    @property (nonatomic, readonly) FIRActionCodeOperation operation;
  • 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 ActionCodeURL from an out of band link (e.g. email link).

    Declaration

    Objective-C

    + (nullable instancetype)actionCodeURLWithLink:(nonnull NSString *)link;

    Parameters

    link

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

    Return Value

    The ActionCodeURL object constructed based on the oob link provided.

  • Please use init(link:) in Swift or actionCodeURLWithLink: in Objective-C instead.

    Declaration

    Objective-C

    - (nonnull instancetype)init;