コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="IdentityServerOptions"/> class with default values.
        /// </summary>
        public IdentityServerOptions()
        {
            SiteName = Constants.IdentityServerName;

            ProtocolLogoutUrls      = new List <string>();
            RequireSsl              = true;
            Endpoints               = new EndpointOptions();
            AuthenticationOptions   = new AuthenticationOptions();
            CspOptions              = new CspOptions();
            EventsOptions           = new EventsOptions();
            EnableWelcomePage       = true;
            InputLengthRestrictions = new InputLengthRestrictions();
            DiscoveryOptions        = new DiscoveryOptions();
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="IdentityServerOptions"/> class with default values.
        /// </summary>
        public IdentityServerOptions()
        {
            SiteName = Constants.IdentityServerName;

            ProtocolLogoutUrls = new List<string>();
            RequireSsl = true;
            Endpoints = new EndpointOptions();
            AuthenticationOptions = new AuthenticationOptions();
            CspOptions = new CspOptions();
            EventsOptions = new EventsOptions();
            EnableWelcomePage = true;
            InputLengthRestrictions = new InputLengthRestrictions();
            DiscoveryOptions = new DiscoveryOptions();
        }