public class FRSession
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(android.content.Context context,
PolicyAdvice advice,
NodeListener<FRSession> listener)
Trigger the Authentication Tree flow process with the
PolicyAdvice |
static void |
authenticate(android.content.Context context,
java.lang.String serviceName,
NodeListener<FRSession> listener)
Trigger the Authentication Tree flow process with the provided tree name
|
static void |
authenticate(android.content.Context context,
android.net.Uri resumeURI,
NodeListener<FRSession> listener)
Trigger the Authentication Tree flow process with the provided resume URI
|
static FRSession |
getCurrentSession()
Retrieve the existing FRSession instance,
|
SSOToken |
getSessionToken()
Retrieve the stored Session Token.
|
void |
logout()
Logout the user
|
public void logout()
public static FRSession getCurrentSession()
If user session does not exist return null, otherwise return the existing User session, this cannot guarantee the existing user session is valid.
public SSOToken getSessionToken()
public void authenticate(android.content.Context context,
PolicyAdvice advice,
NodeListener<FRSession> listener)
PolicyAdvicecontext - The Application Contextadvice - Policy Advice for Step up authentication.listener - Listener to listen login event.public static void authenticate(android.content.Context context,
java.lang.String serviceName,
NodeListener<FRSession> listener)
context - The Application ContextserviceName - Authentication Tree namelistener - Listener to listen login event.public static void authenticate(android.content.Context context,
android.net.Uri resumeURI,
NodeListener<FRSession> listener)
context - The Application ContextresumeURI - Resume URIlistener - Listener to listen login event.