AuthResult

sealed class AuthResult<out T>

Inheritors

Types

Link copied to clipboard
data class Failure(val message: TidalMessage?) : AuthResult<Nothing>
Link copied to clipboard
data class Success<out T>(val data: T?) : AuthResult<T>

Properties

Link copied to clipboard

Convenience function to quickly check if this result is a AuthResult.Failure

Link copied to clipboard

Convenience function to quickly check if this result is a AuthResult.Success

Link copied to clipboard

Helper property to directly access the data payload without having to safequard it in every call