mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
* Part 1: OpenIddict - Minor Changes & Config prep * add missing nuget * pr changes * pr fixes * remove config for openid -- no need for it for now * remove unused extension * Add tests * use pay tester http client * check redirecturl in tests
15 lines
464 B
C#
15 lines
464 B
C#
using System;
|
|
using Microsoft.AspNetCore.Authentication;
|
|
|
|
namespace BTCPayServer.Security
|
|
{
|
|
public static class BitpayAuthenticationExtensions
|
|
{
|
|
public static AuthenticationBuilder AddBitpayAuthentication(this AuthenticationBuilder builder,
|
|
Action<BitpayAuthentication.BitpayAuthOptions> bitpayAuth = null)
|
|
{
|
|
BitpayAuthentication.AddAuthentication(builder,bitpayAuth);
|
|
return builder;
|
|
}
|
|
}
|
|
}
|