FRAuth

open class FRAuth

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.

Constructors

Link copied to clipboard
private constructor(@NonNull context: Context, serviceName: String, advice: PolicyAdvice, resumeURI: Uri, serverConfig: ServerConfig, sessionManager: SessionManager, interceptors: List<Interceptor<out Any>>)

Types

Link copied to clipboard
open class FRAuthBuilder

Properties

Link copied to clipboard
private open var authService: AuthService
Link copied to clipboard
private open var cachedOptions: FROptions
Link copied to clipboard
private open var sessionManager: SessionManager
Link copied to clipboard
private open var started: Boolean

Functions

Link copied to clipboard
Link copied to clipboard
open fun next(context: Context, listener: NodeListener<out Any>)
Trigger the Authentication Tree flow process.
Link copied to clipboard
open fun start(context: Context)

open fun start(context: Context, @Nullable options: FROptions)
Start the SDK