예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShopifyAuthenticationOptions" /> class.
 /// </summary>
 public ShopifyAuthenticationOptions()
     : base("Shopify")
 {
     Caption            = Constants.DefaultAuthenticationType;
     CallbackPath       = new PathString("/signin-shopify");
     AuthenticationMode = AuthenticationMode.Passive;
     Scope = new List <string> {
         "read_content"
     };
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints          = new ShopifyAuthenticationEndpoints
     {
         AuthorizationEndpoint = DefaultAuthorizationEndPoint,
         TokenEndpoint         = DefaultTokenEndpoint,
         ShopInfoEndpoint      = DefaultShopInfoEndpoint
     };
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ShopifyAuthenticationOptions" /> class.
 /// </summary>
 public ShopifyAuthenticationOptions()
     : base("Shopify")
 {
     Caption = Constants.DefaultAuthenticationType;
     CallbackPath = new PathString("/signin-shopify");
     AuthenticationMode = AuthenticationMode.Passive;
     Scope = new List<string> { "read_content" };
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints = new ShopifyAuthenticationEndpoints
     {
         AuthorizationEndpoint = DefaultAuthorizationEndPoint,
         TokenEndpoint = DefaultTokenEndpoint,
         ShopInfoEndpoint = DefaultShopInfoEndpoint
     };
 }