/// <summary> /// Initializes a new <see cref="TencentAuthenticationOptions" /> /// </summary> public TencentAuthenticationOptions() : base(Constants.DefaultAuthenticationType) { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-tencent"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List<string> { "get_user_info" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new TencentAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint }; }
/// <summary> /// Initializes a new <see cref="TencentAuthenticationOptions" /> /// </summary> public TencentAuthenticationOptions() : base(Constants.DefaultAuthenticationType) { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-tencent"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List <string> { "get_user_info" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new TencentAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint }; }