FRAuth

FRAuth is an abstraction of authentication and/or registration with OpenAM through FRAuth SDK.

Note

  • In order to use abstraction layer of FRAuth SDK, you must initiate SDK using FRAuth.start(). Upon completion of SDK initialization, object models (FRDevice and/or FRUser) become available.
  • For SDK initialization, you must have proper configuration file as in .plist; default .plist that FRAuth SDK looks for is ‘FRAuthConfig.plist’, and the config file name can be changed through FRAuth.configPlistFileName property, or create an FROptions object and pass it in the FRAuth.start(options: FROptions? = nil) “options” parameter.

Property

Init

  • Initializes SDK using .plist configuration file

    Throws

    ConfigError when invalid or missing value in .plist configuration file