Corprio.GoogleLib 2.0.31.262

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

Corprio.GoogleLib

The Corprio.GoogleLib project includes functions to faciliate the use of Google API services.

Configure Google API

To use Google APIs, you need to set up authentication and authorization. Follow these steps:

  1. Create a project in the Google Cloud Console.
  2. Naviagate to the "APIs & Services" section and select "Credentials".
  3. Create OAuth 2.0 Client IDs for your application.
  4. Register your application and obtain OAuth 2.0 credentials (Client ID and Client Secret).
  5. Save the client ID and client secret in appsetting.json.
  "oAuth": {
    "google": {
      "clientId": "your client ID",
      "clientSecret": "your client secret"
    }
  }
  1. Enable the required APIs for your project (e.g., Google Drive API, Google Sheets API).
  2. Add the following urls in Redirect URIs:
    • https://{authentication-server-host}/signin-google
    • https://{portal-site-host}}/oauth/google/callback
  3. Set up OAuth 2.0 consent screen.

Authentication and Authorization flow

  1. Redirect users to the Gogole login url to initiate the authentication and authorization process. The Google login url can be obtained by the GetAuthorizationUrl() function of the OAuthClient.
  2. Then user is redirected to Google to log in and authorize your application.
  3. After authorization, Google redirects the user back to your application's redirect url (i.e. 'https://portal.corprio.com/oauth/google/callback') with an authorization code. The redirect url action should receive the authorization code and do the followings.
    • Exchange the authorization code for an access token and a refresh token.
    • Store the access token and refresh token in ServiceProviderRegistration for future use.
    • Finally, redirect the user to a confirmation page or back to your application.
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on Corprio.GoogleLib:

Package Downloads
Corprio.Communication

The Corprio.Communication project includes functions for using external communication services such as email and SMS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.31.262 52 3/12/2026
2.0.31.257 132 2/12/2026
2.0.31.139 244 10/9/2025
2.0.31.125 265 8/29/2025
2.0.31.124 176 7/29/2025
2.0.31.65 277 4/22/2025
2.0.31.54 268 3/31/2025
2.0.31.51 248 3/19/2025
2.0.31.15 183 1/23/2025
2.0.31 214 12/3/2024
2.0.30.1 224 11/29/2024
2.0.30 221 11/14/2024
2.0.29.55 212 9/23/2024
2.0.29.54 230 9/19/2024
2.0.29.38 231 9/9/2024
2.0.29 216 8/6/2024
2.0.28.1 219 8/5/2024
2.0.28 216 8/1/2024
2.0.27 187 7/31/2024
2.0.26.1 200 7/26/2024
Loading failed