示例#1
0
 public HealthGraphAuthenticationOptions()
     : base(Constants.DefaultAuthenticationType)
 {
     Caption            = Constants.DefaultAuthenticationType;
     CallbackPath       = new PathString("/signin-healthgraph");
     AuthenticationMode = AuthenticationMode.Passive;
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints          = new HealthGraphAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint         = TokenEndpoint,
         UserInfoEndpoint      = UserInfoEndpoint,
         ProfileInfoEndpoint   = ProfileInfoEndpoint,
     };
 }
 public HealthGraphAuthenticationOptions() 
     : base(Constants.DefaultAuthenticationType)
 {
     Caption = Constants.DefaultAuthenticationType;
     CallbackPath = new PathString("/signin-healthgraph");
     AuthenticationMode = AuthenticationMode.Passive;
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints = new HealthGraphAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint = TokenEndpoint,
         UserInfoEndpoint = UserInfoEndpoint,
         ProfileInfoEndpoint = ProfileInfoEndpoint,
     };
 }