Esempio n. 1
0
 /// <summary>
 ///     Initializes a new <see cref="UntappdAuthenticationOptions" />
 /// </summary>
 public UntappdAuthenticationOptions()
     : base("Untappd")
 {
     Caption            = Constants.DefaultAuthenticationType;
     CallbackPath       = new PathString("/signin-untappd");
     AuthenticationMode = AuthenticationMode.Passive;
     //untappd has no scopes AFAIK
     Scope = new List <string>();
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints          = new UntappdAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint         = TokenEndpoint,
         UserInfoEndpoint      = UserInfoEndpoint
     };
 }
 /// <summary>
 ///     Initializes a new <see cref="UntappdAuthenticationOptions" />
 /// </summary>
 public UntappdAuthenticationOptions()
     : base("Untappd")
 {
     Caption = Constants.DefaultAuthenticationType;
     CallbackPath = new PathString("/signin-untappd");
     AuthenticationMode = AuthenticationMode.Passive;
     //untappd has no scopes AFAIK
     Scope = new List<string>{};
     BackchannelTimeout = TimeSpan.FromSeconds(60);
     Endpoints = new UntappdAuthenticationEndpoints
     {
         AuthorizationEndpoint = AuthorizationEndPoint,
         TokenEndpoint = TokenEndpoint,
         UserInfoEndpoint = UserInfoEndpoint
     };
 }