FjordTours.DistributorApi.Auth 4.6.0

Prefix Reserved
dotnet add package FjordTours.DistributorApi.Auth --version 4.6.0
                    
NuGet\Install-Package FjordTours.DistributorApi.Auth -Version 4.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FjordTours.DistributorApi.Auth" Version="4.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FjordTours.DistributorApi.Auth" Version="4.6.0" />
                    
Directory.Packages.props
<PackageReference Include="FjordTours.DistributorApi.Auth" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FjordTours.DistributorApi.Auth --version 4.6.0
                    
#r "nuget: FjordTours.DistributorApi.Auth, 4.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FjordTours.DistributorApi.Auth@4.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FjordTours.DistributorApi.Auth&version=4.6.0
                    
Install as a Cake Addin
#tool nuget:?package=FjordTours.DistributorApi.Auth&version=4.6.0
                    
Install as a Cake Tool

Fjord Tours Distributor Api - Auth Library

About

Auth library for use with the Fjord Tours Distributor Api.

Key Features

  • Strongly typed Http client for authentication.
  • Delegating handlers for seamless setup of authentication handling.

How To Use

  1. Install package dotnet add package FjordTours.DistributorApi.Auth.
  2. Configure authentication:
var apiConfig = new FjordToursDistributorApiConfig() { 
        BaseAddress = apiBaseAddress
    };
    builder.Services.AddSingleton(apiConfig);
    builder.Services.AddSingleton<DistributorApiToken>();
    builder.Services.AddTransient<OcpmDelegatingHandler>();
    builder.Services.AddTransient<FjordToursApimTokenDelegatingHandler>();

    builder.Services
        .AddHttpClient<IAuthContract, AuthClient>(client => {
            client.BaseAddress = new Uri(apiBaseAddress);
        })
        .AddHttpMessageHandler<OcpmDelegatingHandler>();

More Information

Contact Fjord Tours AS if you have any questions: https://www.fjordtours.com

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on FjordTours.DistributorApi.Auth:

Package Downloads
FjordTours.DistributorApi.Octo

Client library for interaction with the Fjord Tours Distributor Api using the Octo.travel standard.

FjordTours.DistributorApi.Osdm

Client library for interaction with the Fjord Tours Distributor Api using the OSDM standard.

FjordTours.DistributorApi.Proprietary

Client library for interaction with the Fjord Tours Distributor Api using the Fjord Tours proprietary Api.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.6.0 122 8/31/2026
4.5.3 150 8/3/2026
4.5.2 147 7/3/2026
4.5.1 185 6/16/2026
4.5.0 139 6/9/2026
4.4.0 162 6/9/2026
4.3.1 144 5/20/2026
4.3.0 139 5/6/2026
4.2.7 141 4/23/2026
4.2.6 138 4/23/2026
4.2.5 137 4/14/2026
4.2.4 140 4/8/2026
4.2.3 151 3/13/2026
4.2.0 140 3/13/2026
4.1.7 142 3/13/2026
4.1.6 141 3/13/2026
4.1.5 152 3/13/2026
4.1.4 145 3/13/2026
4.1.3 147 3/13/2026
4.1.2 143 3/12/2026
Loading failed

- 2.0.0: various breaking namespace changes.