UIA

sealed interface UIA<T>

Inheritors

Types

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>
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>
Link copied to clipboard
data class Success<T>(val value: T) : UIA<T>

Functions

Link copied to clipboard
suspend fun <T> UIA<T>.injectOnSuccessIntoUIA(onSuccessCallback: suspend () -> Unit = {}): UIA<T>