Module auth

Module auth 

Source
Expand description

Authentication and session management Authentication module for IG Markets API

This module provides a simplified authentication interface that handles:

  • API v2 (CST/X-SECURITY-TOKEN) authentication
  • API v3 (OAuth) authentication with automatic token refresh
  • Account switching
  • Automatic re-authentication when tokens expire

Structsยง

Auth
Authentication manager for IG Markets API
Session
Session information for authenticated requests
WebsocketInfo
WebSocket connection information for Lightstreamer