AspNet.Security.OAuth.Trovo/TrovoAuthenticationHandler.cs

AspNet.Security.OAuth.Providers · src/AspNet.Security.OAuth.Trovo/TrovoAuthenticationHandler.cs · csharp · Apache-2.0
auth

An ASP.NET Core authentication handler that enables OAuth2 authentication using the Trovo identity provider.

// Source: https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
 * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
 * for more information concerning the license and the contributors participating to this project.
 */

using System.Net;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key