BizDoc.Core.G-Suite
6.6.1
See the version list below for details.
dotnet add package BizDoc.Core.G-Suite --version 6.6.1
NuGet\Install-Package BizDoc.Core.G-Suite -Version 6.6.1
<PackageReference Include="BizDoc.Core.G-Suite" Version="6.6.1" />
paket add BizDoc.Core.G-Suite --version 6.6.1
#r "nuget: BizDoc.Core.G-Suite, 6.6.1"
// Install BizDoc.Core.G-Suite as a Cake Addin #addin nuget:?package=BizDoc.Core.G-Suite&version=6.6.1 // Install BizDoc.Core.G-Suite as a Cake Tool #tool nuget:?package=BizDoc.Core.G-Suite&version=6.6.1
G-Suite for BizDoc
BizDoc G-Suite integration can be configured to handle authentication, email delivery and email feedback.
To integrate G-Suite, first add the following to startup.cs:
services.AddBizDoc().
AddGSuite(options => {
o.ApplicationName = "{your-app-name}";
o.ClientSecrets = "{client_secret.json}";
// o.ApiKey = "...";
});
...
app.UseBizDoc().
UseGSuite();
Configure G-Suite
Create a project at Google API Console, enable Gmail API, create credentials.
Download credentials JSON file and place it in your project. Set the file properties Build Action to Content. Provide the ApplicationName and the file name to ClientSecrets above.
Email Delivery
To use GMail for outgoing emails, add:
AddGSuite().
UseEmailer();
Email Feedback
To pull email reply, add the following:
UseGSuite().
UseGMailFeedback();
Authentication
To use OAuth2 authentication, add the following:
services.AddBizDoc().
AddGSuite(...).
AddAuthenticationRedirect();
...
app.UseBizDoc().
UseGSuite().
UseAuthenticationRedirect().
UseIdentityProvider();
The
UseIdentityProvider
is optional here, and can be replaced with other implementation of IIdentityManager.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 was computed. 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. |
-
- Google.Apis.Admin.Directory.directory_v1 (>= 1.56.0.2700)
- Google.Apis.Gmail.v1 (>= 1.57.0.2650)
- Microsoft.AspNetCore.Authentication.Cookies (>= 2.2.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 6.0.5)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 6.0.5)
- MimeKit (>= 3.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
6.8.2 | 793 | 10/19/2022 | |
6.8.1 | 666 | 10/18/2022 | |
6.8.0 | 647 | 10/16/2022 | |
6.7.5 | 676 | 9/15/2022 | |
6.7.4 | 688 | 9/15/2022 | |
6.7.3 | 733 | 9/15/2022 | |
6.7.2 | 636 | 8/9/2022 | |
6.7.1 | 691 | 7/31/2022 | |
6.7.0 | 663 | 7/21/2022 | |
6.6.6 | 717 | 7/3/2022 | |
6.6.5 | 684 | 6/26/2022 | |
6.6.4 | 634 | 6/23/2022 | |
6.6.3 | 651 | 6/20/2022 | |
6.6.2 | 677 | 6/15/2022 | |
6.6.1 | 672 | 5/28/2022 | |
6.6.0 | 671 | 5/20/2022 | |
6.5.4 | 719 | 4/29/2022 | |
6.5.3 | 673 | 4/14/2022 | |
6.5.2 | 685 | 4/6/2022 | |
6.4.0 | 730 | 3/10/2022 | |
6.3.5 | 697 | 3/8/2022 | |
6.3.4 | 722 | 2/24/2022 | |
6.3.3 | 674 | 2/19/2022 | |
6.3.2 | 711 | 2/10/2022 | |
6.3.1 | 641 | 2/7/2022 | |
6.3.0 | 703 | 2/6/2022 | |
6.2.3 | 696 | 1/20/2022 | |
6.2.2 | 701 | 1/15/2022 | |
6.2.1 | 708 | 1/13/2022 | |
6.2.0 | 534 | 1/7/2022 | |
6.0.7 | 532 | 12/20/2021 | |
6.0.6 | 544 | 12/20/2021 | |
5.3.0 | 617 | 10/13/2021 |