Class FRAuth


  • public class FRAuth
    extends java.lang.Object
    Model of an FRAuth.

    Dispatches requests to AuthService and OAuth2Client, performs user authentication and manage user session.

    To create a new FRAuth object use the static builder().

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void start​(android.content.Context context)  
      static void start​(android.content.Context context, org.forgerock.android.auth.FROptions options)
      Start the SDK
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • start

        public static void start​(android.content.Context context,
                                 @Nullable
                                 org.forgerock.android.auth.FROptions options)
        Start the SDK
        Parameters:
        context - The Application Context
        options - The FROptions is a nullable field which takes either a null or config. If the caller passes null it fetches the default values from strings.xml .
      • start

        public static void start​(android.content.Context context)