Class FRSession

  • All Implemented Interfaces:

    
    public class FRSession
    
                        

    Object which represent the User Session

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • logout

         void logout()

        Logout the user

      • getCurrentSession

         static FRSession getCurrentSession()

        Retrieve the existing FRSession instance,

        If user session does not exist return null, otherwise return the existing User session, this cannot guarantee the existing user session is valid.

        Returns:

        The existing FRSession instance, or null if there is no user session.

      • authenticate

         void authenticate(Context context, PolicyAdvice advice, NodeListener<FRSession> listener)

        Trigger the Authentication Tree flow process with the PolicyAdvice

        Parameters:
        context - The Application Context
        advice - Policy Advice for Step up authentication.
        listener - Listener to listen for authenticate event.
      • authenticate

         static void authenticate(Context context, String serviceName, NodeListener<FRSession> listener)

        Trigger the Authentication Tree flow process with the provided tree name

        Parameters:
        context - The Application Context
        serviceName - Authentication Tree name
        listener - Listener to listen for authenticate event.
      • authenticate

         static void authenticate(Context context, Uri resumeURI, NodeListener<FRSession> listener)

        Trigger the Authentication Tree flow process with the provided resume URI

        Parameters:
        context - The Application Context
        resumeURI - Resume URI
        listener - Listener to listen for authenticate event.