forgerock-auth
4.4.0
forgerock-auth
/
org.forgerock.android.auth
/
AuthServiceClient
Auth
Service
Client
open
class
AuthServiceClient
Client to interact with the auth tree APIs
Members
Constructors
Auth
Service
Client
Link copied to clipboard
constructor
(
serverConfig
:
ServerConfig
)
Properties
AUTH_INDEX_TYPE
Link copied to clipboard
private
val
AUTH_INDEX_TYPE
:
String
=
"authIndexType"
AUTH_INDEX_VALUE
Link copied to clipboard
private
val
AUTH_INDEX_VALUE
:
String
=
"authIndexValue"
JSON
Link copied to clipboard
private
val
JSON
:
MediaType
ok
Http
Client
Link copied to clipboard
private
open
var
okHttpClient
:
OkHttpClient
server
Config
Link copied to clipboard
private
open
var
serverConfig
:
ServerConfig
TREE
Link copied to clipboard
val
TREE
:
String
=
"tree"
TYPE
Link copied to clipboard
val
TYPE
:
String
=
"type"
Functions
authenticate
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
get
Uri
Builder
Link copied to clipboard
private
open
fun
getUriBuilder
(
)
:
Uri.Builder
get
Url
Link copied to clipboard
private
open
fun
getUrl
(
)
:
URL
private
open
fun
getUrl
(
authService
:
AuthService
)
:
URL