DarwinAuthAdapter

class DarwinAuthAdapter(controller: UIViewController) : AuthAdapter<UIViewController>

Constructors

Link copied to clipboard
constructor(controller: UIViewController)

Properties

Link copied to clipboard
val controller: UIViewController?
Link copied to clipboard
Link copied to clipboard
val ref: WeakRef<UIViewController>
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
open suspend override fun getGoogleUser(): GoogleUser?
Link copied to clipboard
open suspend override fun googleLogin(): Result<GoogleUser>
Link copied to clipboard
open override fun handle(event: ControllerEvent)
fun handle(controller: UIViewController, event: ControllerEvent)
Link copied to clipboard
operator fun <Result> invoke(function: UIViewController.() -> Result?): Result?
Link copied to clipboard
suspend fun <Result> invokeSuspend(function: suspend UIViewController.() -> Result?): Result?
Link copied to clipboard
suspend fun login(appId: Int): SignInResponse
Link copied to clipboard
Link copied to clipboard
open suspend override fun signOut(): Result<Unit>