Table of Contents

Namespace Tharga.Fortnox

Classes

FortnoxAssignment

Fortnox Assignment object

Options

Configuration options.

Result

Result object without payload.

Result<TData>

Result objec with data payload.

ThargaFortnoxRegistration

Tharga Fortnox Registration.

TokenData

Token Data

TokenManagerOptions

Configuration options for IFortnoxTokenManager.

Interfaces

IFortnoxConnectionService

Handles connections with Fortnox.

IFortnoxTokenManager

Manages Fortnox access tokens with in-memory caching and thread-safe refresh. Each key represents an independent Fortnox connection (e.g. per company or tenant).

Single-instance only: The in-memory cache is not shared across server instances. If multiple servers use the same Fortnox token, one server's refresh may invalidate another's cached token since refresh tokens are single-use.

Enums

FortnoxScope

Specification for different access scopes. https://www.fortnox.se/developer/guides-and-good-to-know/scopes