toggle menu
flatInvoker
common
switch theme
search in API
reaktor-auth
/
dev.shibasis.reaktor.auth
/
AuthAdapter
Auth
Adapter
abstract
class
AuthAdapter
<
Controller
>
(
controller
:
Controller
)
:
Adapter
<
Controller
>
Inheritors
AndroidAuthAdapter
DarwinAuthAdapter
Members
Constructors
Auth
Adapter
Link copied to clipboard
constructor
(
controller
:
Controller
)
Properties
controller
Link copied to clipboard
val
controller
:
Controller
?
NULL_CONTROLLER
Link copied to clipboard
val
NULL_CONTROLLER
:
Error
ref
Link copied to clipboard
val
ref
:
WeakRef
<
Controller
>
scope
Link copied to clipboard
val
scope
:
CoroutineScope
Functions
get
Google
User
Link copied to clipboard
abstract
suspend
fun
getGoogleUser
(
)
:
GoogleUser
?
google
Login
Link copied to clipboard
abstract
suspend
fun
googleLogin
(
)
:
Result
<
GoogleUser
>
handle
Link copied to clipboard
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
Controller
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
operator
fun
<
Result
>
invoke
(
function
:
Controller
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
Controller
.
(
)
->
Result
?
)
:
Result
?
login
Link copied to clipboard
suspend
fun
login
(
appId
:
Int
=
1
)
:
SignInResponse
null
Controller
Result
Link copied to clipboard
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
sign
Out
Link copied to clipboard
abstract
suspend
fun
signOut
(
)
:
Result
<
Unit
>