safe_authenticator_ffi 0.17.1

SAFE Authenticator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SafeAuth.Utilities;

namespace SafeAuth.Utilities
{
    public partial interface IAuthBindings
    {
        void CreateAccount(string locator, string secret, string invitation, Action disconnnectedCb, Action<FfiResult, IntPtr, GCHandle> cb);

        void Login(string locator, string secret, Action disconnnectedCb, Action<FfiResult, IntPtr, GCHandle> cb);

        Task<IpcReq> DecodeIpcMessage(IntPtr authPtr, string uri);

        Task<IpcReq> UnRegisteredDecodeIpcMsgAsync(string msg);
    }
}