Tonomy-Foundation / Tonomy-ID-SDK

This Software Development Kit is used in Tonomy ID to interact and call with the Antelope blockchain and services. It is also used as the public API for integration by applications to do single sign-on, share credentials and sign transactions.
https://tonomy-id-sdk-tonomy-foundation.vercel.app
Apache License 2.0
5 stars 1 forks source link

Data Sharing: ExternalUser.login() accept optional data sharing request #299

Closed theblockstalk closed 10 months ago

theblockstalk commented 12 months ago

Acceptance criteria:

Hints:

export type OnPressLoginOptions = {
    callbackPath: string;
    redirect?: boolean;
    dataRequest? {
      username?: boolean
   }
};

loginWithTonomy(
        { redirect = true, callbackPath }: OnPressLoginOptions,
        keyManager: KeyManager = new JsKeyManager()
    )
theblockstalk commented 10 months ago

Current sprint: 2 Next sprint: 0