VOOZH about

URL: https://www.nuget.org/packages/BizDoc.Authentication.Azure/9.4.0

⇱ NuGet Gallery | BizDoc.Authentication.Azure 9.4.0




BizDoc.Authentication.Azure 9.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BizDoc.Authentication.Azure --version 9.4.0
 
 
NuGet\Install-Package BizDoc.Authentication.Azure -Version 9.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="BizDoc.Authentication.Azure" Version="9.4.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BizDoc.Authentication.Azure" Version="9.4.0" />
 
Directory.Packages.props
<PackageReference Include="BizDoc.Authentication.Azure" />
 
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 BizDoc.Authentication.Azure --version 9.4.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BizDoc.Authentication.Azure, 9.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 BizDoc.Authentication.Azure@9.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=BizDoc.Authentication.Azure&version=9.4.0
 
Install as a Cake Addin
#tool nuget:?package=BizDoc.Authentication.Azure&version=9.4.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Azure for BizDoc

Add Azure authentication and storage for BizDoc.

dotnet add package BizDoc.Authentication.Azure

program.cs

using System.Security.Claims;

builder.Services.AddBizDoc(options => {
 options.IdentityClaimType = ClaimTypes.Name;
}).
	AddAzure(options => {
 options.ApplicationId = "{application-id-here}";
 options.TenantId = "{tenant-id-here}";
 options.ClientId = "{client-id-here}";
 options.ClientSecret = "{client-secret-here}";

 options.SystemGroupName = "{system-id-here}";
 });
s
app.UseAzure();

You can use the appsettings.json file.

{
 "Azure": {
 "ApplicationId": "{application-id-here}",
 "TenantId": "{tenant-id-here}",
 "ClientId": "{client-id-here}",
 "ClientSecret": "{client-secret-here}",
 "SystemGroupName": "{system-id-here}"
 }
}

And provide the section name to AddAzure().

builder.Services.AddBizDoc(options => {
 ...
}).
	AddAzure(builder.Configuration.GetSection("Azure"), configure => {
 ...
 });

The ApplicationId should be set to the application Object ID and the ClientId to the Application (client) ID.

IdentityClaimType needs to be set to one of:

Claim Usage
ClaimConstants.ObjectId
ClaimTypes.Name or ClaimTypes.Upn
ClaimTypes.Sid
ClaimTypes.Email
AzureClaimTypes.EmployeeId
AzureClaimTypes.OnPremisesSecurityIdentifier
AzureClaimTypes.OnPremisesSamAccountName
AzureClaimTypes.OnPremisesUserPrincipalName

AzureClaimTypes (EmployeeId, etc.) are supported only on SAML. Add Attributes & Claims matching the claim name.

The SystemGroupName maps to BizDoc admin group.

Use Password-Based Single sign-on

	AddAzure(options => {
 ...
 }, configure => 
 configure
 .UsePasswordBasedSignOn()
 .UseIdentityProvider());

Uee SAML

Set Reply URL to /signin-oidc, and Logout Url to /signout-callback-oidc.

	AddAzure(options => {
 ...
 options.ClientCertificates = [ new CertificateDescription {
 SourceType= CertificateSource.StoreWithThumbprint,
 CertificateStorePath= "CurrentUser/My",
 CertificateThumbprint = "{certificate-thumbprint-here}"
 } ];
 }, configure => 
 configure
 .UseSAML()
 .UseIdentityProvider());

Set mode to SAML in app.module.ts.

You can use the appsettings.json file.

{
 "Azure": {
 "ClientCertificates": [
 {
 "SourceType": "StoreWithThumbprint",
 "CertificateStorePath": "CurrentUser/My",
 "CertificateThumbprint": "{certificate-thumbprint-here}"
 }
 ],
 ...
 }
}

Download certificate and set CertificateThumbprint.

Use Actionable Messages

UseActionableMessages();

/api/office/take_action

Use blob storage

Set a storage for attachments.

AddBizDoc().
 AddAzure(
 options => ..., 
 configure => configure
 .UseBlobFileStore(o => o.ConnectionString = "{connection-string-here}"));

Use mail

Set EmailAddress.

builder.Services.AddBizDoc().
 AddAzure(
 options => ..., 
 configure => configure
 .UseEmailer() /* replaces SMTP */
 .UseEMailFeedback(o => o.EmailAddress = "{bizdoc-address-here}"));

app.UseBizDoc().UseEMailFeedback();

Configure

Check ID tokens and switch Allow public client flows to yes.

API Permissions

  • User.Read.All
  • UserTeamwork.Read.All
  • Group.Read.All
  • GroupMember.Read.All
  • Organization.Read.All
  • Place.Read.All
  • Contacts.Read
  • OrgContact.Read.All
  • Sites.Read.All
  • Team.ReadBasic.All
  • TeamMember.Read.All

In addition, Mail.ReadWrite and Mail.Send is required when UseEmailer() or UseMailFeedback().

Workflow

Manager, document owner manager in Azure.

Directory Role.

Widgets

My Group Peers.

My Team Peers.

Direct Reporters Pending.

Teams Performance.

Groups Performance.

Departments Performance.

Administrative Units Performance.

Source

Name Usage
DirectoryGroups
DirectoryRoles
BookingBusinesses
Contacts
DirectoryRoles
Places
Organizations
AdministrativeUnits
EducationSchools
EducationClasses
Sites
Teams
Plans
Departments User department

Attributes

Name Usage
OwnerCountry
OwnerTeamworkData require property name
OwnerEmployeeOrgData require property name
OwnerAdditionalData require property name
OwnerPlannerData require property name
OwnerEmployeeId
OwnerEmployeeType
OwnerDepartment
OwnerEmployeeDivision
OwnerEmployeeCostCenter
OwnerMySite

Rules

Name Usage
OwnerDepartment
OwnerEmployeeDivision
OwnerEmployeeCostCenter
OwnerEmployeeType
OwnerCompanyName
UserEmployeeDivision
UserEmployeeCostCenter
UserEmployeeType
OwnerTeams
UserAdditionalData require property name
UserTeamworkAdditionalData require property name
OwnerTeamworkAdditionalData require property name
UserEmployeeOrgData require property name
OwnerAdditionalData require property name

Resolvers

Name Usage
DivisionResolver
CostCenterResolver

Angular

Install the module.

npm i @bizdoc/azure

Import the module in app.module.

imports: [AzureModule.forRoot({
 clientId: '{client-id-here}',
 mode: 'SAML|Password-Based',
})]
Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (1)

Showing the top 1 NuGet packages that depend on BizDoc.Authentication.Azure:

Package Downloads
BizDoc.Social.Teams

Teams for BizDoc

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.7.0 112 6/11/2026
10.6.0 114 6/7/2026
10.5.0 123 5/7/2026
10.2.0 141 3/4/2026
10.1.0 148 2/9/2026
10.0.0 156 1/6/2026
9.10.1 170 12/29/2025
9.9.1 740 12/3/2025
9.7.1 266 9/25/2025
9.7.0 273 9/13/2025
9.6.4 257 9/10/2025
9.6.3 275 9/3/2025
9.6.2 251 9/2/2025
9.6.1 243 9/2/2025
9.6.0 265 9/2/2025
9.5.0 210 8/3/2025
9.4.1 182 8/3/2025
9.4.0 259 7/27/2025
9.3.4 374 7/20/2025
9.2.4 269 7/8/2025
Loading failed