| using LifePayment.Domain.Shared; | 
| using Microsoft.AspNetCore.Authentication; | 
| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
|   | 
| namespace LifePayment.Domain | 
| { | 
|     public static class AliPayExtensions | 
|     { | 
|         public static AuthenticationBuilder AddAliPay(this AuthenticationBuilder builder) | 
|         { | 
|             return builder.AddScheme<AuthenticationSchemeOptions, | 
|                                      AliPayAuthenticationHandler>(AliPaySignAuthenticationDefaults.AuthenticationScheme, | 
|                                                                   "AliPaySignCheck", | 
|                                                                   op => | 
|                                                                   { | 
|                                                                   }); | 
|         } | 
|     } | 
| } |