/// <summary> /// Initializes a new <see cref="DeviantArtAuthenticationOptions" /> /// </summary> public DeviantArtAuthenticationOptions() : base("DeviantArt") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-deviantart"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List <string> { "user" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new DeviantArtAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint, DamnToken = DamnTokenEndpoint }; }
/// <summary> /// Initializes a new <see cref="DeviantArtAuthenticationOptions" /> /// </summary> public DeviantArtAuthenticationOptions() : base("DeviantArt") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-deviantart"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List<string> { "user" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new DeviantArtAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint, DamnToken = DamnTokenEndpoint }; }