trixnity-clientserverapi-client
3.0.0-beta3
trixnity-clientserverapi-client
/
net.folivo.trixnity.clientserverapi.client
/
UIA
UIA
interface
UIA
<
T
>
Types
Extensions
Inheritors
Types
Error
Link copied to clipboard
data
class
Error
<
T
>
(
val
state
:
UIAState
,
val
errorResponse
:
ErrorResponse
,
getFallbackUrlCallback
:
(
AuthenticationType
)
->
Url
,
authenticateCallback
:
suspend
(
AuthenticationRequest
)
->
Result
<
UIA
<
T
>
>
,
onSuccessCallback
:
suspend
(
)
->
Unit
=
{}
)
:
UIA
<
T
>
Step
Link copied to clipboard
data
class
Step
<
T
>
(
val
state
:
UIAState
,
getFallbackUrlCallback
:
(
AuthenticationType
)
->
Url
,
authenticateCallback
:
suspend
(
AuthenticationRequest
)
->
Result
<
UIA
<
T
>
>
,
onSuccessCallback
:
suspend
(
)
->
Unit
=
{}
)
:
UIA
<
T
>
Success
Link copied to clipboard
data
class
Success
<
T
>
(
val
value
:
T
)
:
UIA
<
T
>
Inheritors
Success
Link copied to clipboard
Step
Link copied to clipboard
Error
Link copied to clipboard
Extensions
inject
On
Success
Into
UIA
Link copied to clipboard
suspend
fun
<
T
>
UIA
<
T
>
.
injectOnSuccessIntoUIA
(
onSuccessCallback
:
suspend
(
)
->
Unit
=
{}
)
:
UIA
<
T
>