SendingNetwork
  • OVERVIEW
    • Getting Started
    • FAQs
  • Network Instructional Articles
    • Basics
      • Introducing the Edge, WatchDog, and Guardian Nodes
      • Overview
      • Messaging Solution
      • Privacy Solution
      • Rich Communication Solution
      • Multi-Platform Solution
      • Decentralized Identity
      • Multiple Chat Modes
      • How It Works
      • Token Utility
      • The Team
    • Key Concepts
      • Decentralized Identity
      • Social Graphs
      • Edge Node
  • SDK Documentation
    • Glossary
    • JavaScript client SDK
      • DID
      • User
      • Message
      • Room
      • Contact
      • Social Graph
    • iOS client SDK
      • Push
      • DID
      • User
      • Message
      • Room
      • Contact
    • Android client SDK
      • User
      • Room
    • Java SDK
      • DID
      • Room
      • Message
    • Node.js SDK
      • DID
      • Room
      • Message
    • Unreal SDK
      • DID
      • User
      • Message
      • Room
    • Unity SDK
      • DID
      • Room
      • Message
    • Website chat widget SDK
      • Customization
      • DID
      • User
      • Room
      • Message
      • Other
    • Bot SDKs
      • Golang Bot SDK
        • DID
        • User
        • Room
        • Message
    • Extensible Message Interface
    • Push Notifications
    • Flutter SDK
      • DID
      • User
      • Message
      • Room
    • PHP SDK
      • DID
      • Room
      • User
    • Developer Key
  • Acquisition Kit
    • Social Boost Development Instructions
  • WatchDog Agent
    • WatchDog Agent Guide
    • WatchDog Agent Deployment Tutorial
      • Linux Deployment Tutorial
    • One-Click Deployment
  • Edge Node
    • Edge Node Deployment Tutorial
    • VPS Setup Guide
      • Google Cloud Platform (GCP)
      • Amazon Web Services (AWS)
      • Contabo
    • Check Node Stats with Auto-Reply Bot in SendingMe App
    • Alpha-3 Testnet FAQs
  • delegation node
    • Delegation Node Deployment Tutorial
  • Private Delegation Node
  • Use Cases
    • Wallet-to-Wallet Messaging
    • Dapp Notifications
    • Identity Verification
    • Gamer Acquisition
    • Cross-platform Trading
Powered by GitBook
On this page
  • DID PreLogin
  • DID Login
  1. SDK Documentation
  2. Unity SDK

DID

DID PreLogin

Task<PreLoginResponse> PreLoginAsync(Uri nodeUri, string walletAddress)

Input params:

Name
Type
Description
Required

nodeUri

string

uri of the node

true

walletAddress

string

user wallet address

true

Output params:

Name
Type
Description
Required

PreLoginResponse.Did

string

user DID

true

PreLoginResponse.Message

string

message to be signed

true

PreLoginResponse.RandomServer

string

random nonce

true

PreLoginResponse.Updated

string

update time of did document

true

DID Login

Task<LoginResponse> LoginAsync(string did, string nonce, string updateTime, string message, string signature)

Input params:

Name
Type
Description
Required

did

string

user did

true

nonce

string

random nonce

true

updateTime

string

update time of did document

true

message

string

message to be signed

true

signature

string

signature of the message

true

Output params:

Name
Type
Description
Required

LoginResponse.UserId

string

user did

true

LoginResponse.AccessToken

string

access token

true

LoginResponse.DeviceId

string

device id

true

PreviousUnity SDKNextRoom

Last updated 1 year ago