DevOp.ZoHo.Auth 1.4.0

dotnet add package DevOp.ZoHo.Auth --version 1.4.0
                    
NuGet\Install-Package DevOp.ZoHo.Auth -Version 1.4.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="DevOp.ZoHo.Auth" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DevOp.ZoHo.Auth" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="DevOp.ZoHo.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 DevOp.ZoHo.Auth --version 1.4.0
                    
#r "nuget: DevOp.ZoHo.Auth, 1.4.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 DevOp.ZoHo.Auth@1.4.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=DevOp.ZoHo.Auth&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=DevOp.ZoHo.Auth&version=1.4.0
                    
Install as a Cake Tool

DevOp.ZoHo.Auth

ZoHo OAuth 2.0 authentication for DevOp.ZoHo libraries.

Handles token acquisition, refresh, and multi-tenant key routing. Used automatically by DevOp.ZoHo.Desk when registered through dependency injection.

Install

dotnet add package DevOp.ZoHo.Auth

Register with DI

builder.Services.AddZoHo(auth =>
{
    auth.ClientId     = configuration["ZoHo:ClientId"]!;
    auth.ClientSecret = configuration["ZoHo:ClientSecret"]!;
    auth.RefreshToken = configuration["ZoHo:RefreshToken"]!;
    auth.Region       = ZoHoRegion.EU;   // EU, AU, IN, JP, CA; default: Com
});

The default token store is in-memory and suitable for single-instance deployments. For multi-instance setups, replace it with DevOp.ZoHo.Redis.

Multi-Tenant Usage

Implement IZoHoTenantKeyProvider to route requests to different ZoHo orgs based on the current request context. The default provider uses a single fixed key.

Target Frameworks

netstandard2.1 · net8.0 · net10.0

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DevOp.ZoHo.Auth:

Package Downloads
DevOp.ZoHo.Desk

ZoHo Desk API client for .NET — fluent query builder, auto-pagination, rich search, and OAuth 2.0 via DevOp.ZoHo.Auth.

DevOp.ZoHo.Redis

Redis-backed IZoHoTokenStore for DevOp.ZoHo.Auth — shared OAuth token storage for multi-instance deployments.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 41 6/3/2026
1.3.0 48 6/2/2026
1.2.0 51 6/2/2026
1.1.1 47 6/2/2026
1.0.0 56 6/2/2026

Improves ZoHo OAuth scope tracking and Desk scope generation.
     - Adds structured authorized-scope metadata to stored tokens
     - Adds typed Desk scope flags for composing OAuth requests without raw strings
     - Adds reusable scope comparison helpers for feature-gated integrations
     - Adds create, update, and delete scope levels for structured builders
     - Fixes Desk field and settings scope generation to use documented granular scopes
     - Fixes Desk account scope generation to include documented read, create, update, and delete access
     - Fixes Desk webhook scopes to use the documented events subscription namespace
     - Preserves authorized scopes across access-token refreshes