Avanza Tools
Command reference

avanza auth

Manage authentication and the stored session

avanza auth bankid

Sign in by scanning a rotating BankID QR code

USAGE
  $ avanza auth bankid

avanza auth logout

Sign out and remove the stored session

USAGE
  $ avanza auth logout

avanza auth session

Validate and show the current authentication session

USAGE
  $ avanza auth session [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --fields=<value>  Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture         Print the HTTP request and response as a fixture
  --json            Print the command response as JSON
  --output=<value>  Write the raw fixture to a new temporary file

avanza auth totp

Sign in with username, password, and TOTP

USAGE
  $ avanza auth totp

On this page