Translations: Tokens/17/en

From ArdorDocs
Jump to: navigation, search

Request:

  • requestType is generateToken
  • secretPhrase (S) is the passphrase of the account generating the token
  • privateKey (S) is the privateKey (hex) of the derived account (HD wallet, refer to: Getting the private key from the derived account)
  • website is a web site URL for which authorization should be granted, or general text to be digitally signed
  • sharedPieceAccount and n sharedPiece can be used (refer to: [[Secret_Sharing|Secret Sharing]

Note: website is typically a URL (with the leading http:// unnecessary) that an account owner signs with his secretPhrase (password) to bind the account to the URL, but website can be any text that the owner wishes to sign.