Skip to main content
Module

x/steam_trader/deps.ts>generateConfirmationKey

https://deno.land/x/steam_trader
Latest
function generateConfirmationKey
import { generateConfirmationKey } from "https://deno.land/x/steam_trader@v0.4.0/deps.ts";

Generate a base64 confirmation key for use with mobile trade confirmations. The code can only be used once.

Parameters

identitySecret: Buffer | string
  • The identity_secret that you received when enabling two-factor authentication
optional
options: { time?: number; tag?: string; }
  • The Unix time for which you are generating this secret. Generally should be the current time.

Returns

string