/// <summary>
 /// NRII: 使用测试接口
 /// </summary>
 /// <param name="app"></param>
 /// <param name="appId"></param>
 /// <param name="appSecret"></param>
 /// <returns></returns>
 public static IAppBuilder UseNRIIAuthenticationTest(this IAppBuilder app, string appId, string appSecret)
 {
     return(app.UseNRIIAuthentication(new NRIIAuthenticationOptions
     {
         AppId = appId,
         AppSecret = appSecret,
         Endpoints = NRIIAuthenticationEndpoints.CreateTestNRIIAuthenticationEndpoints(),
     }));
 }
 /// <summary>
 ///     Initializes a new <see cref="NRIIAuthenticationOptions" />
 /// </summary>
 public NRIIAuthenticationOptions()
     : base(Constants.DefaultAuthenticationType)
 {
     Caption            = Constants.DefaultAuthenticationType;
     CallbackPath       = new PathString($"/signin-{Constants.DefaultAuthenticationType}");
     AuthenticationMode = AuthenticationMode.Passive;
     Scope = new List <string>
     {
         "read"
     };
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints          = new NRIIAuthenticationEndpoints();
     Caption            = "国家大仪平台";
 }