-
public interface AuthInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAuthInterface.AuthDelegatepublic interfaceAuthInterface.RequesterDelegatepublic interfaceAuthInterface.ResponderDelegate
-
Method Summary
Modifier and Type Method Description abstract UnitsetRequesterDelegate(AuthInterface.RequesterDelegate delegate)abstract UnitsetResponderDelegate(AuthInterface.ResponderDelegate delegate)abstract Unitinitialize(Auth.Params.Init params, Function0<Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)abstract Unitrequest(Auth.Params.Request params, Function0<Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)abstract Unitrespond(Auth.Params.Respond params, Function1<Auth.Params.Respond, Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)abstract UnitdecryptMessage(Auth.Params.DecryptMessage params, Function1<Auth.Model.Message.AuthRequest, Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)abstract StringformatMessage(Auth.Params.FormatMessage params)Caution: This function is blocking and runs on the current thread. abstract List<Auth.Model.PendingRequest>getPendingRequest()Caution: This function is blocking and runs on the current thread. abstract Auth.Model.VerifyContextgetVerifyContext(Long id)Caution: This function is blocking and runs on the current thread. abstract List<Auth.Model.VerifyContext>getListOfVerifyContexts()Caution: This function is blocking and runs on the current thread. -
-
Method Detail
-
setRequesterDelegate
abstract Unit setRequesterDelegate(AuthInterface.RequesterDelegate delegate)
-
setResponderDelegate
abstract Unit setResponderDelegate(AuthInterface.ResponderDelegate delegate)
-
initialize
abstract Unit initialize(Auth.Params.Init params, Function0<Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)
-
request
abstract Unit request(Auth.Params.Request params, Function0<Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)
-
respond
abstract Unit respond(Auth.Params.Respond params, Function1<Auth.Params.Respond, Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)
-
decryptMessage
abstract Unit decryptMessage(Auth.Params.DecryptMessage params, Function1<Auth.Model.Message.AuthRequest, Unit> onSuccess, Function1<Auth.Model.Error, Unit> onError)
-
formatMessage
abstract String formatMessage(Auth.Params.FormatMessage params)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getPendingRequest
abstract List<Auth.Model.PendingRequest> getPendingRequest()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getVerifyContext
abstract Auth.Model.VerifyContext getVerifyContext(Long id)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getListOfVerifyContexts
abstract List<Auth.Model.VerifyContext> getListOfVerifyContexts()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
-
-
-