This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:simple_auth/simple_auth.dart'; | |
import "package:http/http.dart" as http; | |
import 'dart:convert' as convert; | |
enum AzureADEasyAuthType { aad, microsoftAccount, facebook, google, twitter } | |
class AzureADEasyAuthApi extends OAuthApi { | |
String siteUrl; | |
AzureADEasyAuthType authType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing Guile on Fedoa 30 from source file does not work as documented | |
# here are the extra steps I did | |
# Download tar from https://ftp.gnu.org/gnu/guile/ | |
tar -xvf guile-3.0.0.tar.gz | |
# install missing libs | |
sudo dnf install libffi-devel | |
sudo dnf install gc-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Net.Sockets; | |
using System.Security.Authentication; | |
using Yarp.Telemetry.Consumption; | |
var builder = WebApplication.CreateBuilder(args); | |
builder.Services.AddTelemetryConsumer<TelemetryConsumer>(); | |
var app = builder.Build(); |