toggle menu
hubro-connect
0.3.2
common
switch theme
search in API
hubro-connect
/
no.hubroplatform.hubroconnect
/
HubroSessionBuilder
Hubro
Session
Builder
class
HubroSessionBuilder
(
baseUrl
:
String
,
tokenVerifier
:
String
)
This is a KDoc comment.
Return
The return value of the function
Parameters
name
The name of the parameter
Members
Constructors
Hubro
Session
Builder
Link copied to clipboard
constructor
(
baseUrl
:
String
,
tokenVerifier
:
String
)
Functions
get
Params
Link copied to clipboard
fun
getParams
(
)
:
Map
<
String
,
String
?
>
get
Questionnaires
Link copied to clipboard
suspend
fun
getQuestionnaires
(
)
:
Any
initialize
Link copied to clipboard
suspend
fun
initialize
(
username
:
String
,
password
:
String
)
:
Any
?
is
Valid
Link copied to clipboard
fun
isValid
(
)
:
Result
<
Boolean
>
refresh
Tokens
Link copied to clipboard
suspend
fun
refreshTokens
(
)
:
Any
send
Observations
Link copied to clipboard
suspend
fun
sendObservations
(
observations
:
List
<
HealthRecord
>
?
)
:
Any
set
Access
Token
Link copied to clipboard
fun
setAccessToken
(
accessToken
:
String
)
set
Base
Url
Link copied to clipboard
fun
setBaseUrl
(
endpoint
:
String
)
set
Connect
Token
Link copied to clipboard
fun
setConnectToken
(
connectToken
:
String
)
set
Refresh
Token
Link copied to clipboard
fun
setRefreshToken
(
refreshToken
:
String
)
verify
Link copied to clipboard
suspend
fun
verify
(
transactionId
:
String
,
code
:
String
)
:
Any