/// <summary> /// Initializes a new <see cref="OrcidAuthenticationOptions" /> /// </summary> public OrcidAuthenticationOptions() : base("Orcid") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-orcid"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List <string>(); BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new OrcidAuthenticationEndpoints { AuthorizationEndpoint = OrcidAuthenticationEndpoints.Default.AuthorizationEndPoint, TokenEndpoint = OrcidAuthenticationEndpoints.Default.TokenEndpoint, ApiEndpoint = OrcidAuthenticationEndpoints.Default.ApiEndpoint }; }
/// <summary> /// Initializes a new <see cref="OrcidAuthenticationOptions" /> /// </summary> public OrcidAuthenticationOptions() : base("Orcid") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-orcid"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List<string>(); BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new OrcidAuthenticationEndpoints { AuthorizationEndpoint = OrcidAuthenticationEndpoints.Default.AuthorizationEndPoint, TokenEndpoint = OrcidAuthenticationEndpoints.Default.TokenEndpoint, ApiEndpoint = OrcidAuthenticationEndpoints.Default.ApiEndpoint }; }