Skip to main content

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

Re-exports§

pub use crate::model::auth::Session;
pub use crate::model::auth::WebsocketInfo;

Structs§

Auth
Authentication manager for IG Markets API