Skip to content

Instantly share code, notes, and snippets.

View andrelashley's full-sized avatar

André Lashley andrelashley

  • BC Provincial Government
  • Victoria, British Columbia
View GitHub Profile
@andrelashley
andrelashley / Startup.cs
Created December 13, 2023 03:32 — forked from edijer/Startup.cs
Setting up API authentication using Firebase JWT tokens in ASP.NET Core 3.1.
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;
namespace Reference.WebApi
{