Exemple #1
0
 public SidekickAuthenticationOptions() : base("Sidekick")
 {
     Caption            = Constants.DefaultAuthenticationType;
     CallbackPath       = new PathString("/");
     AuthenticationMode = AuthenticationMode.Passive;
     Scope = new List <string>
     {
         "user.profile"
     };
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints          = new SidekickAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint         = TokenEndpoint
     };
 }
 public SidekickAuthenticationOptions()
     : base("Sidekick")
 {
     Caption = Constants.DefaultAuthenticationType;
     CallbackPath = new PathString("/");
     AuthenticationMode = AuthenticationMode.Passive;
     Scope = new List<string>
     {
         "user.profile"
     };
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints = new SidekickAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint = TokenEndpoint
     };
 }