AuthServiceClient

open class AuthServiceClient

Client to interact with the auth tree APIs

Constructors

Link copied to clipboard
constructor(serverConfig: ServerConfig)

Properties

Link copied to clipboard
private val AUTH_INDEX_TYPE: String = "authIndexType"
Link copied to clipboard
private val AUTH_INDEX_VALUE: String = "authIndexValue"
Link copied to clipboard
private val JSON: MediaType
Link copied to clipboard
private open var okHttpClient: OkHttpClient
Link copied to clipboard
private open var serverConfig: ServerConfig
Link copied to clipboard
val TREE: String = "tree"
Link copied to clipboard
val TYPE: String = "type"

Functions

Link copied to clipboard
open fun authenticate(authService: AuthService, handler: AuthServiceResponseHandler)
Start authentication with the auth tree
open fun authenticate(authService: AuthService, node: Node, handler: AuthServiceResponseHandler)
Go to next node from the auth tree
Link copied to clipboard
private open fun getUriBuilder(): Uri.Builder
Link copied to clipboard
private open fun getUrl(): URL
private open fun getUrl(authService: AuthService): URL