├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── docs ├── Certs │ ├── idsrv4.crt │ ├── idsrv4.csr │ ├── idsrv4.key │ ├── idsrv4.pfx │ └── password.txt ├── vue-antd-admin-0.7.4.zip ├── 后台模板.zip ├── 登录模板.zip └── 登录页面模板.zip ├── others └── IdentityServer4.EntityFramework │ ├── IdentityServer4.AspNetIdentity │ ├── Decorator.cs │ ├── IdentityServer4.AspNetIdentity.csproj │ ├── IdentityServerBuilderExtensions.cs │ ├── ProfileService.cs │ ├── ResourceOwnerPasswordValidator.cs │ ├── SecurityStampValidatorCallback.cs │ └── UserClaimsFactory.cs │ ├── IdentityServer4.EntityFramework.Demo │ ├── Config.cs │ ├── Controllers │ │ ├── Account │ │ │ ├── AccountController.cs │ │ │ ├── AccountOptions.cs │ │ │ ├── ExternalController.cs │ │ │ ├── ExternalProvider.cs │ │ │ ├── LoggedOutViewModel.cs │ │ │ ├── LoginInputModel.cs │ │ │ ├── LoginViewModel.cs │ │ │ ├── LogoutInputModel.cs │ │ │ ├── LogoutViewModel.cs │ │ │ └── RedirectViewModel.cs │ │ ├── Consent │ │ │ ├── ConsentController.cs │ │ │ ├── ConsentInputModel.cs │ │ │ ├── ConsentOptions.cs │ │ │ ├── ConsentViewModel.cs │ │ │ ├── ProcessConsentResult.cs │ │ │ └── ScopeViewModel.cs │ │ ├── Device │ │ │ ├── DeviceAuthorizationInputModel.cs │ │ │ ├── DeviceAuthorizationViewModel.cs │ │ │ └── DeviceController.cs │ │ ├── Diagnostics │ │ │ ├── DiagnosticsController.cs │ │ │ └── DiagnosticsViewModel.cs │ │ ├── Extensions.cs │ │ ├── Grants │ │ │ ├── GrantsController.cs │ │ │ └── GrantsViewModel.cs │ │ ├── Home │ │ │ ├── ErrorViewModel.cs │ │ │ └── HomeController.cs │ │ ├── SecurityHeadersAttribute.cs │ │ └── TestUsers.cs │ ├── Data │ │ └── Migrations │ │ │ └── IdentityServer │ │ │ ├── ConfigurationDb │ │ │ ├── 20210605044051_InitialIdentityServerConfigurationDbMigration.Designer.cs │ │ │ ├── 20210605044051_InitialIdentityServerConfigurationDbMigration.cs │ │ │ └── ConfigurationDbContextModelSnapshot.cs │ │ │ └── PersistedGrantDb │ │ │ ├── 20210605044041_InitialIdentityServerPersistedGrantDbMigration.Designer.cs │ │ │ ├── 20210605044041_InitialIdentityServerPersistedGrantDbMigration.cs │ │ │ └── PersistedGrantDbContextModelSnapshot.cs │ ├── IdentityServer4.EntityFramework.Demo.csproj │ ├── IdentityServer4.EntityFramework.Demo.csproj.user │ ├── Models │ │ └── ErrorViewModel.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── SeedData.cs │ ├── Startup.cs │ ├── Views │ │ ├── Account │ │ │ ├── AccessDenied.cshtml │ │ │ ├── LoggedOut.cshtml │ │ │ ├── Login.cshtml │ │ │ └── Logout.cshtml │ │ ├── Consent │ │ │ └── Index.cshtml │ │ ├── Device │ │ │ ├── Success.cshtml │ │ │ ├── UserCodeCapture.cshtml │ │ │ └── UserCodeConfirmation.cshtml │ │ ├── Diagnostics │ │ │ └── Index.cshtml │ │ ├── Grants │ │ │ └── Index.cshtml │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── Shared │ │ │ ├── Error.cshtml │ │ │ ├── Redirect.cshtml │ │ │ ├── _Layout.cshtml │ │ │ ├── _Nav.cshtml │ │ │ ├── _ScopeListItem.cshtml │ │ │ └── _ValidationSummary.cshtml │ │ ├── _ViewImports.cshtml │ │ └── _ViewStart.cshtml │ ├── appsettings.Development.json │ ├── appsettings.json │ ├── migration cmd.txt │ ├── tempkey.jwk │ └── wwwroot │ │ ├── css │ │ ├── site.css │ │ ├── site.min.css │ │ └── site.scss │ │ ├── favicon.ico │ │ ├── icon.jpg │ │ ├── icon.png │ │ ├── js │ │ ├── signin-redirect.js │ │ └── signout-redirect.js │ │ └── lib │ │ ├── bootstrap │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── css │ │ │ │ ├── bootstrap-grid.css │ │ │ │ ├── bootstrap-grid.css.map │ │ │ │ ├── bootstrap-grid.min.css │ │ │ │ ├── bootstrap-grid.min.css.map │ │ │ │ ├── bootstrap-reboot.css │ │ │ │ ├── bootstrap-reboot.css.map │ │ │ │ ├── bootstrap-reboot.min.css │ │ │ │ ├── bootstrap-reboot.min.css.map │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ └── js │ │ │ │ ├── bootstrap.bundle.js │ │ │ │ ├── bootstrap.bundle.js.map │ │ │ │ ├── bootstrap.bundle.min.js │ │ │ │ ├── bootstrap.bundle.min.js.map │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.js.map │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── bootstrap.min.js.map │ │ └── scss │ │ │ ├── _alert.scss │ │ │ ├── _badge.scss │ │ │ ├── _breadcrumb.scss │ │ │ ├── _button-group.scss │ │ │ ├── _buttons.scss │ │ │ ├── _card.scss │ │ │ ├── _carousel.scss │ │ │ ├── _close.scss │ │ │ ├── _code.scss │ │ │ ├── _custom-forms.scss │ │ │ ├── _dropdown.scss │ │ │ ├── _forms.scss │ │ │ ├── _functions.scss │ │ │ ├── _grid.scss │ │ │ ├── _images.scss │ │ │ ├── _input-group.scss │ │ │ ├── _jumbotron.scss │ │ │ ├── _list-group.scss │ │ │ ├── _media.scss │ │ │ ├── _mixins.scss │ │ │ ├── _modal.scss │ │ │ ├── _nav.scss │ │ │ ├── _navbar.scss │ │ │ ├── _pagination.scss │ │ │ ├── _popover.scss │ │ │ ├── _print.scss │ │ │ ├── _progress.scss │ │ │ ├── _reboot.scss │ │ │ ├── _root.scss │ │ │ ├── _spinners.scss │ │ │ ├── _tables.scss │ │ │ ├── _toasts.scss │ │ │ ├── _tooltip.scss │ │ │ ├── _transitions.scss │ │ │ ├── _type.scss │ │ │ ├── _utilities.scss │ │ │ ├── _variables.scss │ │ │ ├── bootstrap-grid.scss │ │ │ ├── bootstrap-reboot.scss │ │ │ ├── bootstrap.scss │ │ │ ├── mixins │ │ │ ├── _alert.scss │ │ │ ├── _background-variant.scss │ │ │ ├── _badge.scss │ │ │ ├── _border-radius.scss │ │ │ ├── _box-shadow.scss │ │ │ ├── _breakpoints.scss │ │ │ ├── _buttons.scss │ │ │ ├── _caret.scss │ │ │ ├── _clearfix.scss │ │ │ ├── _deprecate.scss │ │ │ ├── _float.scss │ │ │ ├── _forms.scss │ │ │ ├── _gradients.scss │ │ │ ├── _grid-framework.scss │ │ │ ├── _grid.scss │ │ │ ├── _hover.scss │ │ │ ├── _image.scss │ │ │ ├── _list-group.scss │ │ │ ├── _lists.scss │ │ │ ├── _nav-divider.scss │ │ │ ├── _pagination.scss │ │ │ ├── _reset-text.scss │ │ │ ├── _resize.scss │ │ │ ├── _screen-reader.scss │ │ │ ├── _size.scss │ │ │ ├── _table-row.scss │ │ │ ├── _text-emphasis.scss │ │ │ ├── _text-hide.scss │ │ │ ├── _text-truncate.scss │ │ │ ├── _transition.scss │ │ │ └── _visibility.scss │ │ │ ├── utilities │ │ │ ├── _align.scss │ │ │ ├── _background.scss │ │ │ ├── _borders.scss │ │ │ ├── _clearfix.scss │ │ │ ├── _display.scss │ │ │ ├── _embed.scss │ │ │ ├── _flex.scss │ │ │ ├── _float.scss │ │ │ ├── _overflow.scss │ │ │ ├── _position.scss │ │ │ ├── _screenreaders.scss │ │ │ ├── _shadows.scss │ │ │ ├── _sizing.scss │ │ │ ├── _spacing.scss │ │ │ ├── _stretched-link.scss │ │ │ ├── _text.scss │ │ │ └── _visibility.scss │ │ │ └── vendor │ │ │ └── _rfs.scss │ │ └── jquery │ │ ├── LICENSE.txt │ │ ├── README.md │ │ └── dist │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ ├── jquery.min.map │ │ ├── jquery.slim.js │ │ ├── jquery.slim.min.js │ │ └── jquery.slim.min.map │ ├── IdentityServer4.EntityFramework.Storage │ ├── Configuration │ │ └── ServiceCollectionExtensions.cs │ ├── DbContexts │ │ ├── ConfigurationDbContext.cs │ │ └── PersistedGrantDbContext.cs │ ├── Entities │ │ ├── ApiResource.cs │ │ ├── ApiResourceClaim.cs │ │ ├── ApiResourceProperty.cs │ │ ├── ApiResourceScope.cs │ │ ├── ApiResourceSecret.cs │ │ ├── ApiScope.cs │ │ ├── ApiScopeClaim.cs │ │ ├── ApiScopeProperty.cs │ │ ├── Client.cs │ │ ├── ClientClaim.cs │ │ ├── ClientCorsOrigin.cs │ │ ├── ClientGrantType.cs │ │ ├── ClientIdPRestriction.cs │ │ ├── ClientPostLogoutRedirectUri.cs │ │ ├── ClientProperty.cs │ │ ├── ClientRedirectUri.cs │ │ ├── ClientScope.cs │ │ ├── ClientSecret.cs │ │ ├── DeviceFlowCodes.cs │ │ ├── IdentityResource.cs │ │ ├── IdentityResourceClaim.cs │ │ ├── IdentityResourceProperty.cs │ │ ├── PersistedGrant.cs │ │ ├── Property.cs │ │ ├── Secret.cs │ │ └── UserClaim.cs │ ├── Extensions │ │ └── ModelBuilderExtensions.cs │ ├── IdentityServer4.EntityFramework.Storage.csproj │ ├── Interfaces │ │ ├── IConfigurationDbContext.cs │ │ └── IPersistedGrantDbContext.cs │ ├── Mappers │ │ ├── AllowedSigningAlgorithmsConverter.cs │ │ ├── ApiResourceMapperProfile.cs │ │ ├── ApiResourceMappers.cs │ │ ├── ClientMapperProfile.cs │ │ ├── ClientMappers.cs │ │ ├── IdentityResourceMapperProfile.cs │ │ ├── IdentityResourceMappers.cs │ │ ├── PersistedGrantMapperProfile.cs │ │ ├── PersistedGrantMappers.cs │ │ ├── ScopeMapperProfile.cs │ │ └── ScopeMappers.cs │ ├── Options │ │ ├── ConfigurationStoreOptions.cs │ │ ├── OperationalStoreOptions.cs │ │ └── TableConfiguration.cs │ ├── Stores │ │ ├── ClientStore.cs │ │ ├── DeviceFlowStore.cs │ │ ├── PersistedGrantStore.cs │ │ └── ResourceStore.cs │ └── TokenCleanup │ │ ├── IOperationalStoreNotification.cs │ │ └── TokenCleanupService.cs │ ├── IdentityServer4.EntityFramework.sln │ ├── IdentityServer4.EntityFramework │ ├── IdentityServer4.EntityFramework.csproj │ ├── IdentityServerEntityFrameworkBuilderExtensions.cs │ ├── Services │ │ └── CorsPolicyService.cs │ └── TokenCleanupHost.cs │ └── IdentityServer4 │ ├── Configuration │ ├── CryptoHelper.cs │ ├── DependencyInjection │ │ ├── BuilderExtensions │ │ │ ├── Additional.cs │ │ │ ├── Core.cs │ │ │ ├── Crypto.cs │ │ │ └── InMemory.cs │ │ ├── ConfigureInternalCookieOptions.cs │ │ ├── ConfigureOpenIdConnectOptions.cs │ │ ├── Decorator.cs │ │ ├── IIdentityServerBuilder.cs │ │ ├── IdentityServerBuilder.cs │ │ ├── IdentityServerServiceCollectionExtensions.cs │ │ └── Options │ │ │ ├── AuthenticationOptions.cs │ │ │ ├── CachingOptions.cs │ │ │ ├── CorsOptions.cs │ │ │ ├── CspOptions.cs │ │ │ ├── DeviceFlowOptions.cs │ │ │ ├── DiscoveryOptions.cs │ │ │ ├── EndpointOptions.cs │ │ │ ├── EventsOptions.cs │ │ │ ├── IdentityServerOptions.cs │ │ │ ├── InputLengthRestrictions.cs │ │ │ ├── LoggingOptions.cs │ │ │ ├── MtlsOptions.cs │ │ │ ├── UserInteractionOptions.cs │ │ │ └── ValidationOptions.cs │ ├── IdentityServerApplicationBuilderExtensions.cs │ └── IdentityServerMiddlewareOptions.cs │ ├── Constants.cs │ ├── Endpoints │ ├── AuthorizeCallbackEndpoint.cs │ ├── AuthorizeEndpoint.cs │ ├── AuthorizeEndpointBase.cs │ ├── CheckSessionEndpoint.cs │ ├── DeviceAuthorizationEndpoint.cs │ ├── DiscoveryEndpoint.cs │ ├── DiscoveryKeyEndpoint.cs │ ├── EndSessionCallbackEndpoint.cs │ ├── EndSessionEndpoint.cs │ ├── IntrospectionEndpoint.cs │ ├── Results │ │ ├── AuthorizeResult.cs │ │ ├── BadRequestResult.cs │ │ ├── CheckSessionResult.cs │ │ ├── ConsentPageResult.cs │ │ ├── CustomRedirectResult.cs │ │ ├── DeviceAuthorizationResult.cs │ │ ├── DiscoveryDocumentResult.cs │ │ ├── EndSessionCallbackResult.cs │ │ ├── EndSessionResult.cs │ │ ├── IntrospectionResult.cs │ │ ├── JsonWebKeysResult.cs │ │ ├── LoginPageResult.cs │ │ ├── ProtectedResourceErrorResult.cs │ │ ├── StatusCodeResult.cs │ │ ├── TokenErrorResult.cs │ │ ├── TokenResult.cs │ │ ├── TokenRevocationErrorResult.cs │ │ └── UserInfoResult.cs │ ├── TokenEndpoint.cs │ ├── TokenRevocationEndpoint.cs │ └── UserInfoEndpoint.cs │ ├── Events │ ├── ApiAuthenticationFailureEvent.cs │ ├── ApiAuthenticationSuccessEvent.cs │ ├── ClientAuthenticationFailureEvent.cs │ ├── ClientAuthenticationSuccessEvent.cs │ ├── ConsentDeniedEvent.cs │ ├── ConsentGrantedEvent.cs │ ├── DeviceAuthorizationFailureEvent.cs │ ├── DeviceAuthorizationSuccessEvent.cs │ ├── GrantsRevokedEvent.cs │ ├── Infrastructure │ │ ├── Event.cs │ │ ├── EventCategories.cs │ │ ├── EventIds.cs │ │ └── EventType.cs │ ├── InvalidClientConfiguration.cs │ ├── TokenIntrospectionFailureEvent.cs │ ├── TokenIntrospectionSuccessEvent.cs │ ├── TokenIssuedFailureEvent.cs │ ├── TokenIssuedSuccessEvent.cs │ ├── TokenRevokedSuccessEvent.cs │ ├── UnhandledExceptionEvent.cs │ ├── UserLoginFailureEvent.cs │ ├── UserLoginSuccessEvent.cs │ └── UserLogoutSuccessEvent.cs │ ├── Extensions │ ├── AuthenticationPropertiesExtensions.cs │ ├── AuthorizeResponseExtensions.cs │ ├── ClaimsExtensions.cs │ ├── ClientExtensions.cs │ ├── DateTimeExtensions.cs │ ├── EndpointOptionsExtensions.cs │ ├── HashExtensions.cs │ ├── HttpContextAuthenticationExtensions.cs │ ├── HttpContextExtensions.cs │ ├── HttpRequestExtensions.cs │ ├── HttpResponseExtensions.cs │ ├── ICacheExtensions.cs │ ├── IClientStoreExtensions.cs │ ├── IEnumerableExtensions.cs │ ├── IReadableStringCollectionExtensions.cs │ ├── IResourceStoreExtensions.cs │ ├── IUserSessionExtensions.cs │ ├── IdentityServerToolsExtensions.cs │ ├── NameValueCollectionExtensions.cs │ ├── PrincipalExtensions.cs │ ├── ProfileDataRequestContextExtensions.cs │ ├── ResourceExtensions.cs │ ├── ScopeExtensions.cs │ ├── StringsExtensions.cs │ ├── TokenExtensions.cs │ ├── ValidatedAuthorizeRequestExtensions.cs │ └── X509CertificateExtensions.cs │ ├── Hosting │ ├── BaseUrlMiddleware.cs │ ├── CorsMiddleware.cs │ ├── CorsPolicyProvider.cs │ ├── Endpoint.cs │ ├── EndpointRouter.cs │ ├── FederatedSignOut │ │ ├── AuthenticationRequestHandlerWrapper.cs │ │ ├── AuthenticationRequestSignInHandlerWrapper.cs │ │ ├── AuthenticationRequestSignOutHandlerWrapper.cs │ │ └── FederatedSignoutAuthenticationHandlerProvider.cs │ ├── IEndpointHandler.cs │ ├── IEndpointResult.cs │ ├── IEndpointRouter.cs │ ├── IdentityServerAuthenticationService.cs │ ├── IdentityServerMiddleware.cs │ ├── LocalApiAuthentication │ │ ├── LocalApiAuthenticationEvents.cs │ │ ├── LocalApiAuthenticationExtensions.cs │ │ ├── LocalApiAuthenticationHandler.cs │ │ └── LocalApiAuthenticationOptions.cs │ └── MutualTlsEndpointMiddleware.cs │ ├── IdentityServer4.csproj │ ├── IdentityServerConstants.cs │ ├── IdentityServerTools.cs │ ├── IdentityServerUser.cs │ ├── Infrastructure │ ├── DistributedCacheStateDataFormatter.cs │ ├── MessageCookie.cs │ └── ObjectSerializer.cs │ ├── Logging │ ├── LogSerializer.cs │ └── Models │ │ ├── AuthorizeRequestValidationLog.cs │ │ ├── AuthorizeResponseLog.cs │ │ ├── DeviceAuthorizationRequestValidationLog.cs │ │ ├── EndSessionRequestValidationLog.cs │ │ ├── TokenRequestValidationLog.cs │ │ └── TokenValidationLog.cs │ ├── Models │ ├── Contexts │ │ ├── IsActiveContext.cs │ │ ├── LogoutNotificationContext.cs │ │ └── ProfileDataRequestContext.cs │ ├── DeviceFlowAuthorizationRequest.cs │ ├── DeviceFlowInteractionResult.cs │ ├── DiscoveryDocument.cs │ ├── Grant.cs │ ├── GrantTypes.cs │ ├── IdentityResources.cs │ ├── JsonWebKey.cs │ ├── Messages │ │ ├── AuthorizationRequest.cs │ │ ├── ConsentRequest.cs │ │ ├── ConsentResponse.cs │ │ ├── ErrorMessage.cs │ │ ├── LogoutRequest.cs │ │ └── Message.cs │ ├── ParsedSecret.cs │ ├── SecurityKeyInfo.cs │ ├── TokenCreationRequest.cs │ └── TokenRequestErrors.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── ResponseHandling │ ├── Default │ │ ├── AuthorizeInteractionResponseGenerator.cs │ │ ├── AuthorizeResponseGenerator.cs │ │ ├── DeviceAuthorizationResponseGenerator.cs │ │ ├── DiscoveryResponseGenerator.cs │ │ ├── IntrospectionResponseGenerator.cs │ │ ├── TokenResponseGenerator.cs │ │ ├── TokenRevocationResponseGenerator.cs │ │ └── UserInfoResponseGenerator.cs │ ├── IAuthorizeInteractionResponseGenerator.cs │ ├── IAuthorizeResponseGenerator.cs │ ├── IDeviceAuthorizationResponseGenerator.cs │ ├── IDiscoveryResponseGenerator.cs │ ├── IIntrospectionResponseGenerator.cs │ ├── ITokenResponseGenerator.cs │ ├── ITokenRevocationResponseGenerator.cs │ ├── IUserInfoResponseGenerator.cs │ └── Models │ │ ├── AuthorizeResponse.cs │ │ ├── DeviceAuthorizationResponse.cs │ │ ├── InteractionResponse.cs │ │ ├── TokenErrorResponse.cs │ │ ├── TokenResponse.cs │ │ └── TokenRevocationResponse.cs │ ├── Services │ ├── Default │ │ ├── BackChannelLogoutHttpClient.cs │ │ ├── DefaultBackChannelLogoutService.cs │ │ ├── DefaultCache.cs │ │ ├── DefaultClaimsService.cs │ │ ├── DefaultConsentService.cs │ │ ├── DefaultCorsPolicyService.cs │ │ ├── DefaultDeviceFlowCodeService.cs │ │ ├── DefaultDeviceFlowInteractionService.cs │ │ ├── DefaultEventService.cs │ │ ├── DefaultEventSink.cs │ │ ├── DefaultHandleGenerationService.cs │ │ ├── DefaultIdentityServerInteractionService.cs │ │ ├── DefaultJwtRequestUriHttpClient.cs │ │ ├── DefaultKeyMaterialService.cs │ │ ├── DefaultPersistedGrantService.cs │ │ ├── DefaultProfileService.cs │ │ ├── DefaultRefreshTokenService.cs │ │ ├── DefaultReplayCache.cs │ │ ├── DefaultTokenCreationService.cs │ │ ├── DefaultTokenService.cs │ │ ├── DefaultUserCodeService.cs │ │ ├── DefaultUserSession.cs │ │ ├── DistributedDeviceFlowThrottlingService.cs │ │ ├── LogoutNotificationService.cs │ │ ├── NumericUserCodeGenerator.cs │ │ ├── OidcReturnUrlParser.cs │ │ └── ReturnUrlParser.cs │ ├── IBackChannelLogoutHttpClient.cs │ ├── IBackChannelLogoutService.cs │ ├── ICache.cs │ ├── IClaimsService.cs │ ├── IConsentService.cs │ ├── IDeviceFlowCodeService.cs │ ├── IDeviceFlowInteractionService.cs │ ├── IDeviceFlowThrottlingService.cs │ ├── IEventService.cs │ ├── IEventSink.cs │ ├── IHandleGenerationService.cs │ ├── IIdentityServerInteractionService.cs │ ├── IJwtRequestUriHttpClient.cs │ ├── IKeyMaterialService.cs │ ├── ILogoutNotificationService.cs │ ├── IPersistedGrantService.cs │ ├── IProfileService.cs │ ├── IRefreshTokenService.cs │ ├── IReplayCache.cs │ ├── IReturnUrlParser.cs │ ├── ITokenCreationService.cs │ ├── ITokenService.cs │ ├── IUserCodeGenerator.cs │ ├── IUserCodeService.cs │ ├── IUserSession.cs │ └── InMemory │ │ └── InMemoryCorsPolicyService.cs │ ├── Stores │ ├── Caching │ │ ├── CachingClientStore.cs │ │ ├── CachingCorsPolicyService.cs │ │ └── CachingResourceStore.cs │ ├── Default │ │ ├── ConsentMessageStore.cs │ │ ├── DefaultAuthorizationCodeStore.cs │ │ ├── DefaultGrantStore.cs │ │ ├── DefaultReferenceTokenStore.cs │ │ ├── DefaultRefreshTokenStore.cs │ │ ├── DefaultUserConsentStore.cs │ │ ├── DistributedCacheAuthorizationParametersMessageStore.cs │ │ ├── ProtectedDataMessageStore.cs │ │ └── QueryStringAuthorizationParametersMessageStore.cs │ ├── IAuthorizationParametersMessageStore.cs │ ├── IConsentMessageStore.cs │ ├── IMessageStore.cs │ ├── ISigningCredentialStore.cs │ ├── IValidationKeysStore.cs │ ├── InMemory │ │ ├── InMemoryClientStore.cs │ │ ├── InMemoryDeviceFlowStore.cs │ │ ├── InMemoryPersistedGrantStore.cs │ │ ├── InMemoryResourcesStore.cs │ │ ├── InMemorySigningCredentialsStore.cs │ │ └── InMemoryValidationKeysStore.cs │ └── ValidatingClientStore.cs │ ├── Test │ ├── IdentityServerBuilderExtensions.cs │ ├── TestUser.cs │ ├── TestUserProfileService.cs │ ├── TestUserResourceOwnerPasswordValidator.cs │ └── TestUserStore.cs │ └── Validation │ ├── Contexts │ ├── ClientConfigurationValidationContext.cs │ ├── CustomAuthorizeRequestValidationContext.cs │ ├── CustomTokenRequestValidationContext.cs │ ├── ExtensionGrantValidationContext.cs │ ├── ResourceOwnerPasswordValidationContext.cs │ └── ResourceValidationContext.cs │ ├── Default │ ├── ApiSecretValidator.cs │ ├── AuthorizeRequestValidator.cs │ ├── BasicAuthenticationSecretParser.cs │ ├── BearerTokenUsageValidator.cs │ ├── ClientSecretValidator.cs │ ├── DefaultClientConfigurationValidator.cs │ ├── DefaultCustomAuthorizeRequestValidator.cs │ ├── DefaultCustomTokenRequestValidator.cs │ ├── DefaultCustomTokenValidator.cs │ ├── DefaultResourceValidator.cs │ ├── DefaultScopeParser.cs │ ├── DeviceAuthorizationRequestValidator.cs │ ├── DeviceCodeValidator.cs │ ├── EndSessionRequestValidator.cs │ ├── ExtensionGrantValidator.cs │ ├── HashedSharedSecretValidator.cs │ ├── IntrospectionRequestValidator.cs │ ├── JwtBearerClientAssertionSecretParser.cs │ ├── JwtRequestValidator.cs │ ├── MutualTlsSecretParser.cs │ ├── NopClientConfigurationValidator.cs │ ├── NotSupportedResouceOwnerCredentialValidator.cs │ ├── PlainTextSharedSecretValidator.cs │ ├── PostBodySecretParser.cs │ ├── PrivateKeyJwtSecretValidator.cs │ ├── ResponseTypeEqualityComparer.cs │ ├── SecretParser.cs │ ├── SecretValidator.cs │ ├── StrictRedirectUriValidator.cs │ ├── StrictRedirectUriValidatorAppAuth.cs │ ├── TokenRequestValidator.cs │ ├── TokenRevocationRequestValidator.cs │ ├── TokenValidator.cs │ ├── UserInfoRequestValidator.cs │ ├── X509NameSecretValidator.cs │ └── X509ThumbprintSecretValidator.cs │ ├── IApiSecretValidator.cs │ ├── IAuthorizeRequestValidator.cs │ ├── IClientConfigurationValidator.cs │ ├── IClientSecretValidator.cs │ ├── ICustomAuthorizeRequestValidator.cs │ ├── ICustomTokenRequestValidator.cs │ ├── ICustomTokenValidator.cs │ ├── IDeviceAuthorizationRequestValidator.cs │ ├── IDeviceCodeValidator.cs │ ├── IEndSessionRequestValidator.cs │ ├── IExtensionGrantValidator.cs │ ├── IIntrospectionRequestValidator.cs │ ├── IRedirectUriValidator.cs │ ├── IResourceOwnerPasswordValidator.cs │ ├── IResourceValidator.cs │ ├── IScopeParser.cs │ ├── ISecretParser.cs │ ├── ISecretValidator.cs │ ├── ISecretsListParser.cs │ ├── ISecretsListValidator.cs │ ├── ITokenRequestValidator.cs │ ├── ITokenRevocationRequestValidator.cs │ ├── ITokenValidator.cs │ ├── IUserInfoRequestValidator.cs │ └── Models │ ├── AuthorizeRequestValidationResult.cs │ ├── BearerTokenUsageType.cs │ ├── BearerTokenUsageValidationResult.cs │ ├── ClientSecretValidationResult.cs │ ├── DeviceAuthorizationRequestValidationResult.cs │ ├── DeviceCodeValidationContext.cs │ ├── EndSessionCallbackValidationResult.cs │ ├── EndSessionValidationResult.cs │ ├── GrantValidationResult.cs │ ├── IntrospectionRequestValidationResult.cs │ ├── JwtRequestValidationResult.cs │ ├── ParsedScopeValidationError.cs │ ├── ParsedScopeValue.cs │ ├── ParsedScopesResult.cs │ ├── ResourceValidationRequest.cs │ ├── ResourceValidationResult.cs │ ├── ScopeSecretValidationResult.cs │ ├── SecretValidationResult.cs │ ├── TokenRequestValidationResult.cs │ ├── TokenRevocationRequestValidationResult.cs │ ├── TokenValidationResult.cs │ ├── UserInfoRequestValidationResult.cs │ ├── ValidatedAuthorizeRequest.cs │ ├── ValidatedDeviceAuthorizationRequest.cs │ ├── ValidatedEndSessionRequest.cs │ ├── ValidatedRequest.cs │ ├── ValidatedTokenRequest.cs │ └── ValidationResult.cs └── src ├── IdentityServer4.FreeSql.Storage ├── Configuration │ └── IdentityServerServiceCollectionExtensions.cs ├── DbContexts │ ├── ConfigurationDbContext.cs │ └── PersistedGrantDbContext.cs ├── Entities │ ├── ApiResource.cs │ ├── ApiResourceClaim.cs │ ├── ApiResourceProperty.cs │ ├── ApiResourceScope.cs │ ├── ApiResourceSecret.cs │ ├── ApiScope.cs │ ├── ApiScopeClaim.cs │ ├── ApiScopeProperty.cs │ ├── Client.cs │ ├── ClientClaim.cs │ ├── ClientCorsOrigin.cs │ ├── ClientGrantType.cs │ ├── ClientIdPRestriction.cs │ ├── ClientPostLogoutRedirectUri.cs │ ├── ClientProperty.cs │ ├── ClientRedirectUri.cs │ ├── ClientScope.cs │ ├── ClientSecret.cs │ ├── DeviceFlowCodes.cs │ ├── IdentityResource.cs │ ├── IdentityResourceClaim.cs │ ├── IdentityResourceProperty.cs │ ├── Interface │ │ ├── IBaseEntity.cs │ │ ├── IEntity.cs │ │ ├── Property.cs │ │ ├── Secret.cs │ │ └── UserClaim.cs │ └── PersistedGrant.cs ├── IdentityServer4.FreeSql.Storage.csproj ├── IdentityServer4.FreeSql.Storage.csproj.user ├── Interfaces │ ├── IConfigurationDbContext.cs │ └── IPersistedGrantDbContext.cs ├── Mappers │ ├── AllowedSigningAlgorithmsConverter.cs │ ├── ApiResourceMapperProfile.cs │ ├── ApiResourceMappers.cs │ ├── ClientMapperProfile.cs │ ├── ClientMappers.cs │ ├── IdentityResourceMapperProfile.cs │ ├── IdentityResourceMappers.cs │ ├── PersistedGrantMapperProfile.cs │ ├── PersistedGrantMappers.cs │ ├── ScopeMapperProfile.cs │ └── ScopeMappers.cs ├── Options │ ├── ConfigurationStoreOptions.cs │ ├── OperationalStoreOptions.cs │ ├── StorageCaches.cs │ └── TableConfiguration.cs ├── Properties │ └── PublishProfiles │ │ ├── FolderProfile.pubxml │ │ └── FolderProfile.pubxml.user ├── Stores │ ├── ClientStore.cs │ ├── DeviceFlowStore.cs │ ├── PersistedGrantStore.cs │ └── ResourceStore.cs └── TokenCleanup │ ├── IOperationalStoreNotification.cs │ └── TokenCleanupService.cs ├── IdentityServer4.FreeSql ├── IdentityServer4.FreeSql.csproj ├── IdentityServer4.FreeSql.csproj.user ├── IdentityServerFreeSqlBuilderExtensions.cs ├── Properties │ └── PublishProfiles │ │ ├── FolderProfile.pubxml │ │ └── FolderProfile.pubxml.user ├── Services │ └── CorsPolicyService.cs └── TokenCleanupHost.cs ├── OnceMi.IdentityServer4.User ├── Context │ └── UserDbContext.cs ├── Extensions │ └── UserServiceCollectionExtension.cs ├── Models │ └── OrganizeJwtClaimType.cs ├── OnceMi.IdentityServer4.User.csproj ├── OnceMi.IdentityServer4.User.csproj.user └── Properties │ └── PublishProfiles │ ├── FolderProfile.pubxml │ └── FolderProfile.pubxml.user ├── OnceMi.IdentityServer4.sln └── OnceMi.IdentityServer4 ├── .config └── dotnet-tools.json ├── Cert ├── idsrv4.pfx └── password.txt ├── Controllers ├── Account │ ├── AccountController.cs │ └── ExternalController.cs ├── Consent │ └── ConsentController.cs ├── Device │ └── DeviceController.cs ├── Diagnostics │ └── DiagnosticsController.cs ├── Grants │ └── GrantsController.cs └── Home │ └── HomeController.cs ├── Extensions ├── AddIdentityServerExtension.cs ├── DbContextSqlLoggerExtension.cs ├── DefaultProfileService.cs ├── DefaultResourceOwnerPasswordValidator.cs ├── Extensions.cs ├── FreeSqlExtension.cs ├── InitializeDatabaseService.cs └── Utils │ ├── Json │ ├── Converters │ │ ├── DateTimeConverter.cs │ │ ├── DateTimeNullableConverter.cs │ │ ├── ExceptionConverter.cs │ │ ├── NumberToStringConverter.cs │ │ └── TypeConverter.cs │ └── JsonUtil.cs │ ├── TimeUtil.cs │ └── UserAgentParser.cs ├── Filters └── SecurityHeadersAttribute.cs ├── Models ├── Account │ ├── AccountOptions.cs │ ├── CustumClaimTypes.cs │ ├── ExternalProvider.cs │ ├── LoggedOutViewModel.cs │ ├── LoginInputModel.cs │ ├── LoginResult.cs │ ├── LoginViewModel.cs │ ├── LogoutInputModel.cs │ ├── LogoutViewModel.cs │ ├── RedirectViewModel.cs │ └── TestUserData.cs ├── Common │ └── ResultObject.cs ├── Consent │ ├── ConsentInputModel.cs │ ├── ConsentOptions.cs │ ├── ConsentViewModel.cs │ ├── ProcessConsentResult.cs │ └── ScopeViewModel.cs ├── Device │ ├── DeviceAuthorizationInputModel.cs │ └── DeviceAuthorizationViewModel.cs ├── Diagnostics │ └── DiagnosticsViewModel.cs ├── Grants │ └── GrantsViewModel.cs └── Home │ └── ErrorViewModel.cs ├── OnceMi.IdentityServer4.csproj ├── OnceMi.IdentityServer4.csproj.user ├── Program.cs ├── Properties ├── PublishProfiles │ ├── FolderProfile.pubxml │ └── FolderProfile.pubxml.user └── launchSettings.json ├── Startup.cs ├── Views ├── Account │ ├── AccessDenied.cshtml │ ├── LoggedOut.cshtml │ ├── Login.cshtml │ ├── Login.cshtml.backup │ └── Logout.cshtml ├── Consent │ └── Index.cshtml ├── Device │ ├── Success.cshtml │ ├── UserCodeCapture.cshtml │ └── UserCodeConfirmation.cshtml ├── Diagnostics │ └── Index.cshtml ├── Grants │ └── Index.cshtml ├── Home │ └── Index.cshtml ├── Shared │ ├── Error.cshtml │ ├── Redirect.cshtml │ ├── _Layout.cshtml │ ├── _ScopeListItem.cshtml │ └── _ValidationSummary.cshtml ├── _ViewImports.cshtml └── _ViewStart.cshtml ├── appsettings.Development.json ├── appsettings.json ├── nlog.config ├── tempkey.jwk └── wwwroot ├── account ├── css │ ├── animate.css │ ├── bootstrap.min.css │ ├── style.css │ └── style.css.map ├── fonts │ ├── bootstrap │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── icomoon │ │ ├── icomoon.eot │ │ ├── icomoon.svg │ │ ├── icomoon.ttf │ │ └── icomoon.woff ├── images │ ├── bg_2.jpg │ ├── geometry2.png │ └── sq.png ├── js │ ├── bootstrap.min.js │ ├── jquery.min.js │ ├── jquery.placeholder.min.js │ ├── jquery.waypoints.min.js │ ├── main.js │ ├── modernizr-2.6.2.min.js │ └── respond.min.js └── sass │ └── style.scss ├── css ├── site.css ├── site.min.css └── site.scss ├── favicon.ico ├── icon.jpg ├── icon.png ├── js ├── signin-redirect.js └── signout-redirect.js └── lib ├── bootstrap ├── README.md ├── dist │ ├── css │ │ ├── bootstrap-grid.css │ │ ├── bootstrap-grid.css.map │ │ ├── bootstrap-grid.min.css │ │ ├── bootstrap-grid.min.css.map │ │ ├── bootstrap-reboot.css │ │ ├── bootstrap-reboot.css.map │ │ ├── bootstrap-reboot.min.css │ │ ├── bootstrap-reboot.min.css.map │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ └── bootstrap.min.css.map │ └── js │ │ ├── bootstrap.bundle.js │ │ ├── bootstrap.bundle.js.map │ │ ├── bootstrap.bundle.min.js │ │ ├── bootstrap.bundle.min.js.map │ │ ├── bootstrap.js │ │ ├── bootstrap.js.map │ │ ├── bootstrap.min.js │ │ └── bootstrap.min.js.map └── scss │ ├── _alert.scss │ ├── _badge.scss │ ├── _breadcrumb.scss │ ├── _button-group.scss │ ├── _buttons.scss │ ├── _card.scss │ ├── _carousel.scss │ ├── _close.scss │ ├── _code.scss │ ├── _custom-forms.scss │ ├── _dropdown.scss │ ├── _forms.scss │ ├── _functions.scss │ ├── _grid.scss │ ├── _images.scss │ ├── _input-group.scss │ ├── _jumbotron.scss │ ├── _list-group.scss │ ├── _media.scss │ ├── _mixins.scss │ ├── _modal.scss │ ├── _nav.scss │ ├── _navbar.scss │ ├── _pagination.scss │ ├── _popover.scss │ ├── _print.scss │ ├── _progress.scss │ ├── _reboot.scss │ ├── _root.scss │ ├── _spinners.scss │ ├── _tables.scss │ ├── _toasts.scss │ ├── _tooltip.scss │ ├── _transitions.scss │ ├── _type.scss │ ├── _utilities.scss │ ├── _variables.scss │ ├── bootstrap-grid.scss │ ├── bootstrap-reboot.scss │ ├── bootstrap.scss │ ├── mixins │ ├── _alert.scss │ ├── _background-variant.scss │ ├── _badge.scss │ ├── _border-radius.scss │ ├── _box-shadow.scss │ ├── _breakpoints.scss │ ├── _buttons.scss │ ├── _caret.scss │ ├── _clearfix.scss │ ├── _deprecate.scss │ ├── _float.scss │ ├── _forms.scss │ ├── _gradients.scss │ ├── _grid-framework.scss │ ├── _grid.scss │ ├── _hover.scss │ ├── _image.scss │ ├── _list-group.scss │ ├── _lists.scss │ ├── _nav-divider.scss │ ├── _pagination.scss │ ├── _reset-text.scss │ ├── _resize.scss │ ├── _screen-reader.scss │ ├── _size.scss │ ├── _table-row.scss │ ├── _text-emphasis.scss │ ├── _text-hide.scss │ ├── _text-truncate.scss │ ├── _transition.scss │ └── _visibility.scss │ ├── utilities │ ├── _align.scss │ ├── _background.scss │ ├── _borders.scss │ ├── _clearfix.scss │ ├── _display.scss │ ├── _embed.scss │ ├── _flex.scss │ ├── _float.scss │ ├── _overflow.scss │ ├── _position.scss │ ├── _screenreaders.scss │ ├── _shadows.scss │ ├── _sizing.scss │ ├── _spacing.scss │ ├── _stretched-link.scss │ ├── _text.scss │ └── _visibility.scss │ └── vendor │ └── _rfs.scss ├── encrypt ├── md5 │ ├── md5.js │ ├── md5.min.js │ └── md5.min.js.map └── sha256.min.js ├── jquery ├── LICENSE.txt ├── README.md ├── dist │ ├── jquery.js │ ├── jquery.min.js │ ├── jquery.min.map │ ├── jquery.slim.js │ ├── jquery.slim.min.js │ └── jquery.slim.min.map └── jquery.cookie-1.4.1.min.js ├── layer ├── layer.js ├── mobile │ ├── layer.js │ └── need │ │ └── layer.css └── theme │ └── default │ ├── icon-ext.png │ ├── icon.png │ ├── layer.css │ ├── loading-0.gif │ ├── loading-1.gif │ └── loading-2.gif └── light ├── css ├── animate.min.css ├── bootstrap.min.css ├── materialdesignicons.min.css └── style.min.css ├── fonts ├── materialdesignicons-webfont.eot ├── materialdesignicons-webfont.ttf ├── materialdesignicons-webfont.woff └── materialdesignicons-webfont.woff2 ├── images ├── 404.png ├── captcha.png ├── gallery │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 13.jpg │ ├── 14.jpg │ ├── 15.jpg │ ├── 16.jpg │ ├── 17.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ └── 9.jpg ├── img-placeholder.png ├── login-bg-1.jpg ├── login-bg-2.jpg ├── login-bg-3.jpg ├── login-bg-4.jpg ├── logo-ico.png ├── logo-sidebar.png ├── logo.png ├── slide │ ├── img-slide-1.jpg │ ├── img-slide-2.jpg │ ├── img-slide-3.jpg │ ├── img-slide-4.jpg │ └── img-slide-5.jpg └── users │ ├── avatar-1.png │ ├── avatar-2.png │ ├── avatar-3.png │ ├── avatar-4.png │ ├── avatar-5.png │ ├── avatar-6.png │ ├── avatar-7.png │ └── avatar.jpg └── js ├── Chart.min.js ├── bootstrap-clockpicker ├── bootstrap-clockpicker.css ├── bootstrap-clockpicker.js ├── bootstrap-clockpicker.min.css └── bootstrap-clockpicker.min.js ├── bootstrap-colorpicker ├── bootstrap-colorpicker.css ├── bootstrap-colorpicker.js ├── bootstrap-colorpicker.min.css └── bootstrap-colorpicker.min.js ├── bootstrap-datepicker ├── bootstrap-datepicker.js ├── bootstrap-datepicker.min.js ├── bootstrap-datepicker3.css ├── bootstrap-datepicker3.min.css └── locales │ ├── bootstrap-datepicker.zh-CN.min.js │ └── bootstrap-datepicker.zh-TW.min.js ├── bootstrap-datetimepicker ├── bootstrap-datetimepicker.css ├── bootstrap-datetimepicker.min.css └── bootstrap-datetimepicker.min.js ├── bootstrap-maxlength └── bootstrap-maxlength.min.js ├── bootstrap-multitabs ├── multitabs.js ├── multitabs.min.css └── multitabs.min.js ├── bootstrap-notify.min.js ├── bootstrap-select ├── bootstrap-select.css ├── bootstrap-select.min.css ├── bootstrap-select.min.js └── i18n │ ├── defaults-zh_CN.min.js │ └── defaults-zh_TW.min.js ├── bootstrap-table ├── bootstrap-table.css ├── bootstrap-table.js ├── bootstrap-table.min.css ├── bootstrap-table.min.js ├── extensions │ ├── accent-neutralise │ │ └── bootstrap-table-accent-neutralise.min.js │ ├── addrbar │ │ └── bootstrap-table-addrbar.min.js │ ├── auto-refresh │ │ └── bootstrap-table-auto-refresh.min.js │ ├── cell-input │ │ ├── bootstrap-table-cell-input.min.css │ │ └── bootstrap-table-cell-input.min.js │ ├── cookie │ │ └── bootstrap-table-cookie.min.js │ ├── copy-rows │ │ └── bootstrap-table-copy-rows.min.js │ ├── defer-url │ │ └── bootstrap-table-defer-url.min.js │ ├── editable │ │ └── bootstrap-table-editable.min.js │ ├── export │ │ └── bootstrap-table-export.min.js │ ├── filter-control │ │ ├── bootstrap-table-filter-control.min.css │ │ └── bootstrap-table-filter-control.min.js │ ├── fixed-columns │ │ ├── bootstrap-table-fixed-columns.js │ │ └── bootstrap-table-fixed-columns.scss │ ├── group-by-v2 │ │ ├── bootstrap-table-group-by.js │ │ ├── bootstrap-table-group-by.scss │ │ └── extension.json │ ├── i18n-enhance │ │ ├── bootstrap-table-i18n-enhance.js │ │ └── extension.json │ ├── key-events │ │ ├── bootstrap-table-key-events.js │ │ └── extension.json │ ├── mobile │ │ ├── bootstrap-table-mobile.js │ │ └── extension.json │ ├── multiple-sort │ │ ├── bootstrap-table-multiple-sort.js │ │ └── extension.json │ ├── page-jump-to │ │ ├── bootstrap-table-page-jump-to.js │ │ └── bootstrap-table-page-jump-to.scss │ ├── pipeline │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bootstrap-table-pipeline.js │ │ └── extension.json │ ├── print │ │ └── bootstrap-table-print.js │ ├── reorder-columns │ │ ├── bootstrap-table-reorder-columns.js │ │ └── extension.json │ ├── reorder-rows │ │ ├── bootstrap-table-reorder-rows.js │ │ ├── bootstrap-table-reorder-rows.scss │ │ └── extension.json │ ├── resizable │ │ ├── bootstrap-table-resizable.js │ │ └── extension.json │ ├── sticky-header │ │ ├── bootstrap-table-sticky-header.js │ │ ├── bootstrap-table-sticky-header.scss │ │ └── extension.json │ ├── toolbar │ │ ├── bootstrap-table-toolbar.js │ │ └── extension.json │ └── treegrid │ │ └── bootstrap-table-treegrid.min.js └── locale │ ├── bootstrap-table-zh-CN.min.js │ └── bootstrap-table-zh-TW.min.js ├── bootstrap.min.js ├── chosen.jquery.min.js ├── fullcalendar ├── bootstrap │ ├── LICENSE.txt │ ├── README.md │ ├── main.css │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.css │ ├── main.min.js │ └── package.json ├── core │ ├── LICENSE.txt │ ├── README.md │ ├── locales-all.js │ ├── locales-all.min.js │ ├── locales │ │ ├── af.js │ │ ├── ar-dz.js │ │ ├── ar-kw.js │ │ ├── ar-ly.js │ │ ├── ar-ma.js │ │ ├── ar-sa.js │ │ ├── ar-tn.js │ │ ├── ar.js │ │ ├── bg.js │ │ ├── bs.js │ │ ├── ca.js │ │ ├── cs.js │ │ ├── da.js │ │ ├── de.js │ │ ├── el.js │ │ ├── en-au.js │ │ ├── en-gb.js │ │ ├── en-nz.js │ │ ├── es-us.js │ │ ├── es.js │ │ ├── et.js │ │ ├── eu.js │ │ ├── fa.js │ │ ├── fi.js │ │ ├── fr-ca.js │ │ ├── fr-ch.js │ │ ├── fr.js │ │ ├── gl.js │ │ ├── he.js │ │ ├── hi.js │ │ ├── hr.js │ │ ├── hu.js │ │ ├── id.js │ │ ├── is.js │ │ ├── it.js │ │ ├── ja.js │ │ ├── ka.js │ │ ├── kk.js │ │ ├── ko.js │ │ ├── lb.js │ │ ├── lt.js │ │ ├── lv.js │ │ ├── mk.js │ │ ├── ms.js │ │ ├── nb.js │ │ ├── nl.js │ │ ├── nn.js │ │ ├── pl.js │ │ ├── pt-br.js │ │ ├── pt.js │ │ ├── ro.js │ │ ├── ru.js │ │ ├── sk.js │ │ ├── sl.js │ │ ├── sq.js │ │ ├── sr-cyrl.js │ │ ├── sr.js │ │ ├── sv.js │ │ ├── th.js │ │ ├── tr.js │ │ ├── uk.js │ │ ├── vi.js │ │ ├── zh-cn.js │ │ └── zh-tw.js │ ├── main.css │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.css │ ├── main.min.js │ └── package.json ├── daygrid │ ├── LICENSE.txt │ ├── README.md │ ├── main.css │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.css │ ├── main.min.js │ └── package.json ├── google-calendar │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json ├── interaction │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json ├── list │ ├── LICENSE.txt │ ├── README.md │ ├── main.css │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.css │ ├── main.min.js │ └── package.json ├── luxon │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json ├── moment-timezone │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json ├── moment │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json ├── rrule │ ├── LICENSE.txt │ ├── README.md │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.js │ └── package.json └── timegrid │ ├── LICENSE.txt │ ├── README.md │ ├── main.css │ ├── main.d.ts │ ├── main.esm.js │ ├── main.js │ ├── main.min.css │ ├── main.min.js │ └── package.json ├── index.min.js ├── jquery-confirm ├── jquery-confirm.min.css └── jquery-confirm.min.js ├── jquery-tagsinput ├── jquery.tagsinput.min.css └── jquery.tagsinput.min.js ├── jquery-treegrid ├── jquery.treegrid.min.css └── jquery.treegrid.min.js ├── jquery.bootstrap.wizard.min.js ├── jquery.cookie.min.js ├── jquery.min.js ├── lyear-loading.js ├── main.min.js ├── moment.js ├── locale │ ├── zh-cn.min.js │ └── zh-tw.min.js ├── moment.js └── moment.min.js ├── perfect-scrollbar.min.js └── popper.min.js /docs/Certs/idsrv4.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/docs/Certs/idsrv4.pfx -------------------------------------------------------------------------------- /docs/Certs/password.txt: -------------------------------------------------------------------------------- 1 | 123456 -------------------------------------------------------------------------------- /docs/vue-antd-admin-0.7.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/docs/vue-antd-admin-0.7.4.zip -------------------------------------------------------------------------------- /docs/后台模板.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/docs/后台模板.zip -------------------------------------------------------------------------------- /docs/登录模板.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/docs/登录模板.zip -------------------------------------------------------------------------------- /docs/登录页面模板.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/docs/登录页面模板.zip -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.AspNetIdentity/IdentityServer4.AspNetIdentity.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/AccountOptions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class AccountOptions 10 | { 11 | public static bool AllowLocalLogin = true; 12 | public static bool AllowRememberLogin = true; 13 | public static TimeSpan RememberMeLoginDuration = TimeSpan.FromDays(30); 14 | 15 | public static bool ShowLogoutPrompt = true; 16 | public static bool AutomaticRedirectAfterSignOut = false; 17 | 18 | public static string InvalidCredentialsErrorMessage = "Invalid username or password"; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/ExternalProvider.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class ExternalProvider 8 | { 9 | public string DisplayName { get; set; } 10 | public string AuthenticationScheme { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/LoggedOutViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class LoggedOutViewModel 8 | { 9 | public string PostLogoutRedirectUri { get; set; } 10 | public string ClientName { get; set; } 11 | public string SignOutIframeUrl { get; set; } 12 | 13 | public bool AutomaticRedirectAfterSignOut { get; set; } 14 | 15 | public string LogoutId { get; set; } 16 | public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; 17 | public string ExternalAuthenticationScheme { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/LoginInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.ComponentModel.DataAnnotations; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class LoginInputModel 10 | { 11 | [Required] 12 | public string Username { get; set; } 13 | [Required] 14 | public string Password { get; set; } 15 | public bool RememberLogin { get; set; } 16 | public string ReturnUrl { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/LogoutInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class LogoutInputModel 8 | { 9 | public string LogoutId { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/LogoutViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class LogoutViewModel : LogoutInputModel 8 | { 9 | public bool ShowLogoutPrompt { get; set; } = true; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Account/RedirectViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | 6 | namespace IdentityServerHost.Quickstart.UI 7 | { 8 | public class RedirectViewModel 9 | { 10 | public string RedirectUrl { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Consent/ConsentInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class ConsentInputModel 10 | { 11 | public string Button { get; set; } 12 | public IEnumerable ScopesConsented { get; set; } 13 | public bool RememberConsent { get; set; } 14 | public string ReturnUrl { get; set; } 15 | public string Description { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Consent/ConsentOptions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class ConsentOptions 8 | { 9 | public static bool EnableOfflineAccess = true; 10 | public static string OfflineAccessDisplayName = "Offline Access"; 11 | public static string OfflineAccessDescription = "Access to your applications and resources, even when you are offline"; 12 | 13 | public static readonly string MustChooseOneErrorMessage = "You must pick at least one permission"; 14 | public static readonly string InvalidSelectionErrorMessage = "Invalid selection"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Consent/ConsentViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class ConsentViewModel : ConsentInputModel 10 | { 11 | public string ClientName { get; set; } 12 | public string ClientUrl { get; set; } 13 | public string ClientLogoUrl { get; set; } 14 | public bool AllowRememberConsent { get; set; } 15 | 16 | public IEnumerable IdentityScopes { get; set; } 17 | public IEnumerable ApiScopes { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Consent/ProcessConsentResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class ProcessConsentResult 10 | { 11 | public bool IsRedirect => RedirectUri != null; 12 | public string RedirectUri { get; set; } 13 | public Client Client { get; set; } 14 | 15 | public bool ShowView => ViewModel != null; 16 | public ConsentViewModel ViewModel { get; set; } 17 | 18 | public bool HasValidationError => ValidationError != null; 19 | public string ValidationError { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Consent/ScopeViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class ScopeViewModel 8 | { 9 | public string Value { get; set; } 10 | public string DisplayName { get; set; } 11 | public string Description { get; set; } 12 | public bool Emphasize { get; set; } 13 | public bool Required { get; set; } 14 | public bool Checked { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Device/DeviceAuthorizationInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class DeviceAuthorizationInputModel : ConsentInputModel 8 | { 9 | public string UserCode { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Device/DeviceAuthorizationViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServerHost.Quickstart.UI 6 | { 7 | public class DeviceAuthorizationViewModel : ConsentViewModel 8 | { 9 | public string UserCode { get; set; } 10 | public bool ConfirmUserCode { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Controllers/Home/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | 7 | namespace IdentityServerHost.Quickstart.UI 8 | { 9 | public class ErrorViewModel 10 | { 11 | public ErrorViewModel() 12 | { 13 | } 14 | 15 | public ErrorViewModel(string error) 16 | { 17 | Error = new ErrorMessage { Error = error }; 18 | } 19 | 20 | public ErrorMessage Error { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/IdentityServer4.EntityFramework.Demo.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectDebugger 5 | 6 | 7 | IdentityServer4.EntityFramework.Demo 8 | 9 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace IdentityServer4.EntityFramework.Demo.Models 4 | { 5 | public class ErrorViewModel 6 | { 7 | public string RequestId { get; set; } 8 | 9 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Program.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Hosting; 2 | using Microsoft.Extensions.Configuration; 3 | using Microsoft.Extensions.Hosting; 4 | using Microsoft.Extensions.Logging; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Threading.Tasks; 9 | 10 | namespace IdentityServer4.EntityFramework.Demo 11 | { 12 | public class Program 13 | { 14 | public static void Main(string[] args) 15 | { 16 | CreateHostBuilder(args).Build().Run(); 17 | } 18 | 19 | public static IHostBuilder CreateHostBuilder(string[] args) => 20 | Host.CreateDefaultBuilder(args) 21 | .ConfigureWebHostDefaults(webBuilder => 22 | { 23 | webBuilder.UseStartup(); 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Account/AccessDenied.cshtml: -------------------------------------------------------------------------------- 1 |  2 |
3 |
4 |

Access Denied

5 |

You do not have access to that resource.

6 |
7 |
-------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Account/Logout.cshtml: -------------------------------------------------------------------------------- 1 | @model LogoutViewModel 2 | 3 |
4 |
5 |

Logout

6 |

Would you like to logut of IdentityServer?

7 |
8 | 9 |
10 | 11 |
12 | 13 |
14 |
15 |
16 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Device/Success.cshtml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |

Success

5 |

You have successfully authorized the device

6 |
7 |
8 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Device/UserCodeCapture.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 |
4 |
5 |

User Code

6 |

Please enter the code displayed on your device.

7 |
8 | 9 | 10 | 11 |
12 |
13 |
14 |
15 | 16 | 17 |
18 | 19 | 20 |
21 |
22 |
23 |
24 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Shared/Redirect.cshtml: -------------------------------------------------------------------------------- 1 | @model RedirectViewModel 2 | 3 |
4 |
5 |

You are now being returned to the application

6 |

Once complete, you may close this tab.

7 |
8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/Shared/_ValidationSummary.cshtml: -------------------------------------------------------------------------------- 1 | @if (ViewContext.ModelState.IsValid == false) 2 | { 3 |
4 | Error 5 |
6 |
7 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using IdentityServerHost.Quickstart.UI 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "ConnectionString": "Data Source={root}db\\app.db;" 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/migration cmd.txt: -------------------------------------------------------------------------------- 1 |  2 | dotnet ef migrations add InitialIdentityServerPersistedGrantDbMigration -c PersistedGrantDbContext -o Data/Migrations/IdentityServer/PersistedGrantDb 3 | 4 | dotnet ef migrations add InitialIdentityServerConfigurationDbMigration -c ConfigurationDbContext -o Data/Migrations/IdentityServer/ConfigurationDb -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | .body-container { 2 | margin-top: 60px; 3 | padding-bottom: 40px; } 4 | 5 | .welcome-page li { 6 | list-style: none; 7 | padding: 4px; } 8 | 9 | .logged-out-page iframe { 10 | display: none; 11 | width: 0; 12 | height: 0; } 13 | 14 | .grants-page .card { 15 | margin-top: 20px; 16 | border-bottom: 1px solid lightgray; } 17 | .grants-page .card .card-title { 18 | font-size: 120%; 19 | font-weight: bold; } 20 | .grants-page .card .card-title img { 21 | width: 100px; 22 | height: 100px; } 23 | .grants-page .card label { 24 | font-weight: bold; } 25 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- 1 | .body-container{margin-top:60px;padding-bottom:40px;}.welcome-page li{list-style:none;padding:4px;}.logged-out-page iframe{display:none;width:0;height:0;}.grants-page .card{margin-top:20px;border-bottom:1px solid #d3d3d3;}.grants-page .card .card-title{font-size:120%;font-weight:bold;}.grants-page .card .card-title img{width:100px;height:100px;}.grants-page .card label{font-weight:bold;} -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/css/site.scss: -------------------------------------------------------------------------------- 1 | .body-container { 2 | margin-top: 60px; 3 | padding-bottom:40px; 4 | } 5 | 6 | .welcome-page { 7 | li { 8 | list-style: none; 9 | padding: 4px; 10 | } 11 | } 12 | 13 | .logged-out-page { 14 | iframe { 15 | display: none; 16 | width: 0; 17 | height: 0; 18 | } 19 | } 20 | 21 | .grants-page { 22 | .card { 23 | margin-top: 20px; 24 | border-bottom: 1px solid lightgray; 25 | 26 | .card-title { 27 | img { 28 | width: 100px; 29 | height: 100px; 30 | } 31 | 32 | font-size: 120%; 33 | font-weight: bold; 34 | } 35 | 36 | label { 37 | font-weight: bold; 38 | } 39 | } 40 | } 41 | 42 | 43 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/favicon.ico -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/icon.jpg -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/icon.png -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/js/signin-redirect.js: -------------------------------------------------------------------------------- 1 | window.location.href = document.querySelector("meta[http-equiv=refresh]").getAttribute("data-url"); 2 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/js/signout-redirect.js: -------------------------------------------------------------------------------- 1 | window.addEventListener("load", function () { 2 | var a = document.querySelector("a.PostLogoutRedirectUri"); 3 | if (a) { 4 | window.location = a.href; 5 | } 6 | }); 7 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | .jumbotron { 2 | padding: $jumbotron-padding ($jumbotron-padding / 2); 3 | margin-bottom: $jumbotron-padding; 4 | color: $jumbotron-color; 5 | background-color: $jumbotron-bg; 6 | @include border-radius($border-radius-lg); 7 | 8 | @include media-breakpoint-up(sm) { 9 | padding: ($jumbotron-padding * 2) $jumbotron-padding; 10 | } 11 | } 12 | 13 | .jumbotron-fluid { 14 | padding-right: 0; 15 | padding-left: 0; 16 | @include border-radius(0); 17 | } 18 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/_media.scss: -------------------------------------------------------------------------------- 1 | .media { 2 | display: flex; 3 | align-items: flex-start; 4 | } 5 | 6 | .media-body { 7 | flex: 1; 8 | } 9 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/_root.scss: -------------------------------------------------------------------------------- 1 | // Do not forget to update getting-started/theming.md! 2 | :root { 3 | // Custom variable values only support SassScript inside `#{}`. 4 | @each $color, $value in $colors { 5 | --#{$color}: #{$value}; 6 | } 7 | 8 | @each $color, $value in $theme-colors { 9 | --#{$color}: #{$value}; 10 | } 11 | 12 | @each $bp, $value in $grid-breakpoints { 13 | --breakpoint-#{$bp}: #{$value}; 14 | } 15 | 16 | // Use `inspect` for lists so that quoted items keep the quotes. 17 | // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 18 | --font-family-sans-serif: #{inspect($font-family-sans-serif)}; 19 | --font-family-monospace: #{inspect($font-family-monospace)}; 20 | } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/_transitions.scss: -------------------------------------------------------------------------------- 1 | .fade { 2 | @include transition($transition-fade); 3 | 4 | &:not(.show) { 5 | opacity: 0; 6 | } 7 | } 8 | 9 | .collapse { 10 | &:not(.show) { 11 | display: none; 12 | } 13 | } 14 | 15 | .collapsing { 16 | position: relative; 17 | height: 0; 18 | overflow: hidden; 19 | @include transition($transition-collapse); 20 | } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/_utilities.scss: -------------------------------------------------------------------------------- 1 | @import "utilities/align"; 2 | @import "utilities/background"; 3 | @import "utilities/borders"; 4 | @import "utilities/clearfix"; 5 | @import "utilities/display"; 6 | @import "utilities/embed"; 7 | @import "utilities/flex"; 8 | @import "utilities/float"; 9 | @import "utilities/overflow"; 10 | @import "utilities/position"; 11 | @import "utilities/screenreaders"; 12 | @import "utilities/shadows"; 13 | @import "utilities/sizing"; 14 | @import "utilities/stretched-link"; 15 | @import "utilities/spacing"; 16 | @import "utilities/text"; 17 | @import "utilities/visibility"; 18 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/bootstrap-grid.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grid v4.4.1 (https://getbootstrap.com/) 3 | * Copyright 2011-2019 The Bootstrap Authors 4 | * Copyright 2011-2019 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | html { 9 | box-sizing: border-box; 10 | -ms-overflow-style: scrollbar; 11 | } 12 | 13 | *, 14 | *::before, 15 | *::after { 16 | box-sizing: inherit; 17 | } 18 | 19 | @import "functions"; 20 | @import "variables"; 21 | 22 | @import "mixins/breakpoints"; 23 | @import "mixins/grid-framework"; 24 | @import "mixins/grid"; 25 | 26 | @import "grid"; 27 | @import "utilities/display"; 28 | @import "utilities/flex"; 29 | @import "utilities/spacing"; 30 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/) 3 | * Copyright 2011-2019 The Bootstrap Authors 4 | * Copyright 2011-2019 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */ 8 | 9 | @import "functions"; 10 | @import "variables"; 11 | @import "mixins"; 12 | @import "reboot"; 13 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | @mixin alert-variant($background, $border, $color) { 2 | color: $color; 3 | @include gradient-bg($background); 4 | border-color: $border; 5 | 6 | hr { 7 | border-top-color: darken($border, 5%); 8 | } 9 | 10 | .alert-link { 11 | color: darken($color, 10%); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Contextual backgrounds 4 | 5 | @mixin bg-variant($parent, $color, $ignore-warning: false) { 6 | #{$parent} { 7 | background-color: $color !important; 8 | } 9 | a#{$parent}, 10 | button#{$parent} { 11 | @include hover-focus() { 12 | background-color: darken($color, 10%) !important; 13 | } 14 | } 15 | @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning); 16 | } 17 | 18 | @mixin bg-gradient-variant($parent, $color) { 19 | #{$parent} { 20 | background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_badge.scss: -------------------------------------------------------------------------------- 1 | @mixin badge-variant($bg) { 2 | color: color-yiq($bg); 3 | background-color: $bg; 4 | 5 | @at-root a#{&} { 6 | @include hover-focus() { 7 | color: color-yiq($bg); 8 | background-color: darken($bg, 10%); 9 | } 10 | 11 | &:focus, 12 | &.focus { 13 | outline: 0; 14 | box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss: -------------------------------------------------------------------------------- 1 | @mixin box-shadow($shadow...) { 2 | @if $enable-shadows { 3 | $result: (); 4 | 5 | @if (length($shadow) == 1) { 6 | // We can pass `@include box-shadow(none);` 7 | $result: $shadow; 8 | } @else { 9 | // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;` 10 | @for $i from 1 through length($shadow) { 11 | @if nth($shadow, $i) != "none" { 12 | $result: append($result, nth($shadow, $i), "comma"); 13 | } 14 | } 15 | } 16 | @if (length($result) > 0) { 17 | box-shadow: $result; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | @mixin clearfix() { 2 | &::after { 3 | display: block; 4 | clear: both; 5 | content: ""; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss: -------------------------------------------------------------------------------- 1 | // Deprecate mixin 2 | // 3 | // This mixin can be used to deprecate mixins or functions. 4 | // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to 5 | // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap) 6 | @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) { 7 | @if ($enable-deprecation-messages != false and $ignore-warning != true) { 8 | @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}."; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_float.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @mixin float-left() { 4 | float: left !important; 5 | @include deprecate("The `float-left` mixin", "v4.3.0", "v5"); 6 | } 7 | @mixin float-right() { 8 | float: right !important; 9 | @include deprecate("The `float-right` mixin", "v4.3.0", "v5"); 10 | } 11 | @mixin float-none() { 12 | float: none !important; 13 | @include deprecate("The `float-none` mixin", "v4.3.0", "v5"); 14 | } 15 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_list-group.scss: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | @mixin list-group-item-variant($state, $background, $color) { 4 | .list-group-item-#{$state} { 5 | color: $color; 6 | background-color: $background; 7 | 8 | &.list-group-item-action { 9 | @include hover-focus() { 10 | color: $color; 11 | background-color: darken($background, 5%); 12 | } 13 | 14 | &.active { 15 | color: $white; 16 | background-color: $color; 17 | border-color: $color; 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled() { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | @mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y, $ignore-warning: false) { 6 | height: 0; 7 | margin: $margin-y 0; 8 | overflow: hidden; 9 | border-top: 1px solid $color; 10 | @include deprecate("The `nav-divider()` mixin", "v4.4.0", "v5", $ignore-warning); 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | @mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) { 4 | .page-link { 5 | padding: $padding-y $padding-x; 6 | @include font-size($font-size); 7 | line-height: $line-height; 8 | } 9 | 10 | .page-item { 11 | &:first-child { 12 | .page-link { 13 | @include border-left-radius($border-radius); 14 | } 15 | } 16 | &:last-child { 17 | .page-link { 18 | @include border-right-radius($border-radius); 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text() { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size or word-wrap. 4 | font-style: normal; 5 | font-weight: $font-weight-normal; 6 | line-height: $line-height-base; 7 | text-align: left; // Fallback for where `start` is not supported 8 | text-align: start; 9 | text-decoration: none; 10 | text-shadow: none; 11 | text-transform: none; 12 | letter-spacing: normal; 13 | word-break: normal; 14 | word-spacing: normal; 15 | white-space: normal; 16 | line-break: auto; 17 | } 18 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 5 | resize: $direction; // Options: horizontal, vertical, both 6 | } 7 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_size.scss: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | @mixin size($width, $height: $width) { 4 | width: $width; 5 | height: $height; 6 | @include deprecate("`size()`", "v4.3.0", "v5"); 7 | } 8 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Typography 4 | 5 | @mixin text-emphasis-variant($parent, $color, $ignore-warning: false) { 6 | #{$parent} { 7 | color: $color !important; 8 | } 9 | @if $emphasized-link-hover-darken-percentage != 0 { 10 | a#{$parent} { 11 | @include hover-focus() { 12 | color: darken($color, $emphasized-link-hover-darken-percentage) !important; 13 | } 14 | } 15 | } 16 | @include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning); 17 | } 18 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | @mixin text-hide($ignore-warning: false) { 3 | // stylelint-disable-next-line font-family-no-missing-generic-family-keyword 4 | font: 0/0 a; 5 | color: transparent; 6 | text-shadow: none; 7 | background-color: transparent; 8 | border: 0; 9 | 10 | @include deprecate("`text-hide()`", "v4.1.0", "v5", $ignore-warning); 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_transition.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable property-blacklist 2 | @mixin transition($transition...) { 3 | @if $enable-transitions { 4 | @if length($transition) == 0 { 5 | transition: $transition-base; 6 | } @else { 7 | transition: $transition; 8 | } 9 | } 10 | 11 | @if $enable-prefers-reduced-motion-media-query { 12 | @media (prefers-reduced-motion: reduce) { 13 | transition: none; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/mixins/_visibility.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Visibility 4 | 5 | @mixin invisible($visibility) { 6 | visibility: $visibility !important; 7 | @include deprecate("`invisible()`", "v4.3.0", "v5"); 8 | } 9 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_align.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | .align-baseline { vertical-align: baseline !important; } // Browser default 4 | .align-top { vertical-align: top !important; } 5 | .align-middle { vertical-align: middle !important; } 6 | .align-bottom { vertical-align: bottom !important; } 7 | .align-text-bottom { vertical-align: text-bottom !important; } 8 | .align-text-top { vertical-align: text-top !important; } 9 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_background.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $color, $value in $theme-colors { 4 | @include bg-variant(".bg-#{$color}", $value, true); 5 | } 6 | 7 | @if $enable-gradients { 8 | @each $color, $value in $theme-colors { 9 | @include bg-gradient-variant(".bg-gradient-#{$color}", $value); 10 | } 11 | } 12 | 13 | .bg-white { 14 | background-color: $white !important; 15 | } 16 | 17 | .bg-transparent { 18 | background-color: transparent !important; 19 | } 20 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss: -------------------------------------------------------------------------------- 1 | .clearfix { 2 | @include clearfix(); 3 | } 4 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_display.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // 4 | // Utilities for common `display` values 5 | // 6 | 7 | @each $breakpoint in map-keys($grid-breakpoints) { 8 | @include media-breakpoint-up($breakpoint) { 9 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 10 | 11 | @each $value in $displays { 12 | .d#{$infix}-#{$value} { display: $value !important; } 13 | } 14 | } 15 | } 16 | 17 | 18 | // 19 | // Utilities for toggling `display` in print 20 | // 21 | 22 | @media print { 23 | @each $value in $displays { 24 | .d-print-#{$value} { display: $value !important; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_float.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $breakpoint in map-keys($grid-breakpoints) { 4 | @include media-breakpoint-up($breakpoint) { 5 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 6 | 7 | .float#{$infix}-left { float: left !important; } 8 | .float#{$infix}-right { float: right !important; } 9 | .float#{$infix}-none { float: none !important; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_overflow.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $value in $overflows { 4 | .overflow-#{$value} { overflow: $value !important; } 5 | } 6 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_position.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Common values 4 | @each $position in $positions { 5 | .position-#{$position} { position: $position !important; } 6 | } 7 | 8 | // Shorthand 9 | 10 | .fixed-top { 11 | position: fixed; 12 | top: 0; 13 | right: 0; 14 | left: 0; 15 | z-index: $zindex-fixed; 16 | } 17 | 18 | .fixed-bottom { 19 | position: fixed; 20 | right: 0; 21 | bottom: 0; 22 | left: 0; 23 | z-index: $zindex-fixed; 24 | } 25 | 26 | .sticky-top { 27 | @supports (position: sticky) { 28 | position: sticky; 29 | top: 0; 30 | z-index: $zindex-sticky; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Screenreaders 3 | // 4 | 5 | .sr-only { 6 | @include sr-only(); 7 | } 8 | 9 | .sr-only-focusable { 10 | @include sr-only-focusable(); 11 | } 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_shadows.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | .shadow-sm { box-shadow: $box-shadow-sm !important; } 4 | .shadow { box-shadow: $box-shadow !important; } 5 | .shadow-lg { box-shadow: $box-shadow-lg !important; } 6 | .shadow-none { box-shadow: none !important; } 7 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_sizing.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Width and height 4 | 5 | @each $prop, $abbrev in (width: w, height: h) { 6 | @each $size, $length in $sizes { 7 | .#{$abbrev}-#{$size} { #{$prop}: $length !important; } 8 | } 9 | } 10 | 11 | .mw-100 { max-width: 100% !important; } 12 | .mh-100 { max-height: 100% !important; } 13 | 14 | // Viewport additional helpers 15 | 16 | .min-vw-100 { min-width: 100vw !important; } 17 | .min-vh-100 { min-height: 100vh !important; } 18 | 19 | .vw-100 { width: 100vw !important; } 20 | .vh-100 { height: 100vh !important; } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Stretched link 3 | // 4 | 5 | .stretched-link { 6 | &::after { 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | bottom: 0; 11 | left: 0; 12 | z-index: 1; 13 | // Just in case `pointer-events: none` is set on a parent 14 | pointer-events: auto; 15 | content: ""; 16 | // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color 17 | background-color: rgba(0, 0, 0, 0); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Demo/wwwroot/lib/bootstrap/scss/utilities/_visibility.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // 4 | // Visibility utilities 5 | // 6 | 7 | .visible { 8 | visibility: visible !important; 9 | } 10 | 11 | .invisible { 12 | visibility: hidden !important; 13 | } 14 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiResourceClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | namespace IdentityServer4.EntityFramework.Entities 7 | { 8 | public class ApiResourceClaim : UserClaim 9 | { 10 | public int ApiResourceId { get; set; } 11 | public ApiResource ApiResource { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiResourceProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ApiResourceProperty : Property 10 | { 11 | public int ApiResourceId { get; set; } 12 | public ApiResource ApiResource { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiResourceScope.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | namespace IdentityServer4.EntityFramework.Entities 7 | { 8 | public class ApiResourceScope 9 | { 10 | public int Id { get; set; } 11 | public string Scope { get; set; } 12 | 13 | public int ApiResourceId { get; set; } 14 | public ApiResource ApiResource { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiResourceSecret.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ApiResourceSecret : Secret 10 | { 11 | public int ApiResourceId { get; set; } 12 | public ApiResource ApiResource { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiScopeClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | namespace IdentityServer4.EntityFramework.Entities 7 | { 8 | public class ApiScopeClaim : UserClaim 9 | { 10 | public int ScopeId { get; set; } 11 | public ApiScope Scope { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ApiScopeProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ApiScopeProperty : Property 10 | { 11 | public int ScopeId { get; set; } 12 | public ApiScope Scope { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientClaim 10 | { 11 | public int Id { get; set; } 12 | public string Type { get; set; } 13 | public string Value { get; set; } 14 | 15 | public int ClientId { get; set; } 16 | public Client Client { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientCorsOrigin.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientCorsOrigin 10 | { 11 | public int Id { get; set; } 12 | public string Origin { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientGrantType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientGrantType 10 | { 11 | public int Id { get; set; } 12 | public string GrantType { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientIdPRestriction.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientIdPRestriction 10 | { 11 | public int Id { get; set; } 12 | public string Provider { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientPostLogoutRedirectUri.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientPostLogoutRedirectUri 10 | { 11 | public int Id { get; set; } 12 | public string PostLogoutRedirectUri { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientProperty : Property 10 | { 11 | public int ClientId { get; set; } 12 | public Client Client { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientRedirectUri.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientRedirectUri 10 | { 11 | public int Id { get; set; } 12 | public string RedirectUri { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientScope.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientScope 10 | { 11 | public int Id { get; set; } 12 | public string Scope { get; set; } 13 | 14 | public int ClientId { get; set; } 15 | public Client Client { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/ClientSecret.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class ClientSecret : Secret 10 | { 11 | public int ClientId { get; set; } 12 | public Client Client { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/IdentityResourceClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class IdentityResourceClaim : UserClaim 10 | { 11 | public int IdentityResourceId { get; set; } 12 | public IdentityResource IdentityResource { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/IdentityResourceProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public class IdentityResourceProperty : Property 10 | { 11 | public int IdentityResourceId { get; set; } 12 | public IdentityResource IdentityResource { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/Property.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public abstract class Property 10 | { 11 | public int Id { get; set; } 12 | public string Key { get; set; } 13 | public string Value { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/Secret.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using System; 8 | 9 | namespace IdentityServer4.EntityFramework.Entities 10 | { 11 | public abstract class Secret 12 | { 13 | public int Id { get; set; } 14 | public string Description { get; set; } 15 | public string Value { get; set; } 16 | public DateTime? Expiration { get; set; } 17 | public string Type { get; set; } = "SharedSecret"; 18 | public DateTime Created { get; set; } = DateTime.UtcNow; 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/Entities/UserClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.EntityFramework.Entities 8 | { 9 | public abstract class UserClaim 10 | { 11 | public int Id { get; set; } 12 | public string Type { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.Storage/IdentityServer4.EntityFramework.Storage.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework/IdentityServer4.EntityFramework.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Configuration/DependencyInjection/IIdentityServerBuilder.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace Microsoft.Extensions.DependencyInjection 6 | { 7 | /// 8 | /// IdentityServer builder Interface 9 | /// 10 | public interface IIdentityServerBuilder 11 | { 12 | /// 13 | /// Gets the services. 14 | /// 15 | /// 16 | /// The services. 17 | /// 18 | IServiceCollection Services { get; } 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Configuration/IdentityServerMiddlewareOptions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System; 6 | 7 | namespace Microsoft.AspNetCore.Builder 8 | { 9 | /// 10 | /// Options for the IdentityServer middleware 11 | /// 12 | public class IdentityServerMiddlewareOptions 13 | { 14 | /// 15 | /// Callback to wire up an authentication middleware 16 | /// 17 | public Action AuthenticationMiddleware { get; set; } = (app) => app.UseAuthentication(); 18 | } 19 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Hosting/CorsMiddleware.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Configuration; 6 | using Microsoft.AspNetCore.Builder; 7 | using Microsoft.Extensions.DependencyInjection; 8 | 9 | #pragma warning disable 1591 10 | 11 | namespace IdentityServer4.Hosting 12 | { 13 | public static class CorsMiddlewareExtensions 14 | { 15 | public static void ConfigureCors(this IApplicationBuilder app) 16 | { 17 | var options = app.ApplicationServices.GetRequiredService(); 18 | app.UseCors(options.Cors.CorsPolicyName); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Hosting/IEndpointHandler.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using Microsoft.AspNetCore.Http; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Hosting 9 | { 10 | /// 11 | /// Endpoint handler 12 | /// 13 | public interface IEndpointHandler 14 | { 15 | /// 16 | /// Processes the request. 17 | /// 18 | /// The HTTP context. 19 | /// 20 | Task ProcessAsync(HttpContext context); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Hosting/IEndpointResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using Microsoft.AspNetCore.Http; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Hosting 9 | { 10 | /// 11 | /// Endpoint result 12 | /// 13 | public interface IEndpointResult 14 | { 15 | /// 16 | /// Executes the result. 17 | /// 18 | /// The HTTP context. 19 | /// 20 | Task ExecuteAsync(HttpContext context); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Hosting/IEndpointRouter.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using Microsoft.AspNetCore.Http; 6 | 7 | namespace IdentityServer4.Hosting 8 | { 9 | /// 10 | /// The endpoint router 11 | /// 12 | public interface IEndpointRouter 13 | { 14 | /// 15 | /// Finds a matching endpoint. 16 | /// 17 | /// The HTTP context. 18 | /// 19 | IEndpointHandler Find(HttpContext context); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/IdentityServer4.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net5.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Infrastructure/ObjectSerializer.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Text.Json; 6 | 7 | namespace IdentityServer4 8 | { 9 | internal static class ObjectSerializer 10 | { 11 | private static readonly JsonSerializerOptions Options = new JsonSerializerOptions 12 | { 13 | IgnoreNullValues = true 14 | }; 15 | 16 | public static string ToString(object o) 17 | { 18 | return JsonSerializer.Serialize(o, Options); 19 | } 20 | 21 | public static T FromString(string value) 22 | { 23 | return JsonSerializer.Deserialize(value, Options); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Models/JsonWebKey.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | namespace IdentityServer4.Models 7 | { 8 | public class JsonWebKey 9 | { 10 | public string kty { get; set; } 11 | public string use { get; set; } 12 | public string kid { get; set; } 13 | public string x5t { get; set; } 14 | public string e { get; set; } 15 | public string n { get; set; } 16 | public string[] x5c { get; set; } 17 | public string alg { get; set; } 18 | 19 | public string x { get; set; } 20 | public string y { get; set; } 21 | public string crv { get; set; } 22 | } 23 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Models/SecurityKeyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using Microsoft.IdentityModel.Tokens; 6 | 7 | namespace IdentityServer4.Models 8 | { 9 | /// 10 | /// Information about a security key 11 | /// 12 | public class SecurityKeyInfo 13 | { 14 | /// 15 | /// The key 16 | /// 17 | public SecurityKey Key { get; set; } 18 | 19 | /// 20 | /// The signing algorithm 21 | /// 22 | public string SigningAlgorithm { get; set; } 23 | } 24 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/ResponseHandling/IAuthorizeResponseGenerator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Validation; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.ResponseHandling 9 | { 10 | /// 11 | /// Interface for the authorize response generator 12 | /// 13 | public interface IAuthorizeResponseGenerator 14 | { 15 | /// 16 | /// Creates the response 17 | /// 18 | /// The request. 19 | /// 20 | Task CreateResponseAsync(ValidatedAuthorizeRequest request); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/ResponseHandling/ITokenResponseGenerator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | using IdentityServer4.Validation; 7 | 8 | namespace IdentityServer4.ResponseHandling 9 | { 10 | /// 11 | /// Interface the token response generator 12 | /// 13 | public interface ITokenResponseGenerator 14 | { 15 | /// 16 | /// Processes the response. 17 | /// 18 | /// The validation result. 19 | /// 20 | Task ProcessAsync(TokenRequestValidationResult validationResult); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/ResponseHandling/Models/DeviceAuthorizationResponse.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | namespace IdentityServer4.ResponseHandling 8 | { 9 | public class DeviceAuthorizationResponse 10 | { 11 | public string DeviceCode { get; set; } 12 | public string UserCode { get; set; } 13 | public string VerificationUri { get; set; } 14 | 15 | public string VerificationUriComplete { get; set; } 16 | public int DeviceCodeLifetime { get; set; } 17 | public int Interval { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IBackChannelLogoutHttpClient.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Services 9 | { 10 | /// 11 | /// Models making HTTP requests for back-channel logout notification. 12 | /// 13 | public interface IBackChannelLogoutHttpClient 14 | { 15 | /// 16 | /// Performs HTTP POST. 17 | /// 18 | /// 19 | /// 20 | /// 21 | Task PostAsync(string url, Dictionary payload); 22 | } 23 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IBackChannelLogoutService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Services 9 | { 10 | /// 11 | /// The service responsible for performing back-channel logout notification. 12 | /// 13 | public interface IBackChannelLogoutService 14 | { 15 | /// 16 | /// Performs http back-channel logout notification. 17 | /// 18 | /// The context of the back channel logout notification. 19 | Task SendLogoutNotificationsAsync(LogoutNotificationContext context); 20 | } 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IEventService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Events; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Services 9 | { 10 | /// 11 | /// Interface for the event service 12 | /// 13 | public interface IEventService 14 | { 15 | /// 16 | /// Raises the specified event. 17 | /// 18 | /// The event. 19 | Task RaiseAsync(Event evt); 20 | 21 | /// 22 | /// Indicates if the type of event will be persisted. 23 | /// 24 | bool CanRaiseEventType(EventTypes evtType); 25 | } 26 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IEventSink.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Events; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Services 9 | { 10 | /// 11 | /// Models persistence of events 12 | /// 13 | public interface IEventSink 14 | { 15 | /// 16 | /// Raises the specified event. 17 | /// 18 | /// The event. 19 | Task PersistAsync(Event evt); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IHandleGenerationService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Services 8 | { 9 | /// 10 | /// Interface for the handle generation service 11 | /// 12 | public interface IHandleGenerationService 13 | { 14 | /// 15 | /// Generates a handle. 16 | /// 17 | /// The length. 18 | /// 19 | Task GenerateAsync(int length = 32); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IJwtRequestUriHttpClient.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using IdentityServer4.Models; 3 | 4 | namespace IdentityServer4.Services 5 | { 6 | /// 7 | /// Models making HTTP requests for JWTs from the authorize endpoint. 8 | /// 9 | public interface IJwtRequestUriHttpClient 10 | { 11 | /// 12 | /// Gets a JWT from the url. 13 | /// 14 | /// 15 | /// 16 | /// 17 | Task GetJwtAsync(string url, Client client); 18 | } 19 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/ITokenCreationService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Services 9 | { 10 | /// 11 | /// Logic for creating security tokens 12 | /// 13 | public interface ITokenCreationService 14 | { 15 | /// 16 | /// Creates a token. 17 | /// 18 | /// The token description. 19 | /// A protected and serialized security token 20 | Task CreateTokenAsync(Token token); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Services/IUserCodeService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Services 8 | { 9 | /// 10 | /// Implements user code generation 11 | /// 12 | public interface IUserCodeService 13 | { 14 | /// 15 | /// Gets the user code generator. 16 | /// 17 | /// Type of user code. 18 | /// 19 | Task GetGenerator(string userCodeType); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Stores/ISigningCredentialStore.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using Microsoft.IdentityModel.Tokens; 6 | using System.Threading.Tasks; 7 | 8 | namespace IdentityServer4.Stores 9 | { 10 | /// 11 | /// Interface for a signing credential store 12 | /// 13 | public interface ISigningCredentialStore 14 | { 15 | /// 16 | /// Gets the signing credentials. 17 | /// 18 | /// 19 | Task GetSigningCredentialsAsync(); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Stores/IValidationKeysStore.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | using System.Collections.Generic; 7 | using System.Threading.Tasks; 8 | 9 | namespace IdentityServer4.Stores 10 | { 11 | /// 12 | /// Interface for the validation key store 13 | /// 14 | public interface IValidationKeysStore 15 | { 16 | /// 17 | /// Gets all validation keys. 18 | /// 19 | /// 20 | Task> GetValidationKeysAsync(); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Contexts/CustomAuthorizeRequestValidationContext.cs: -------------------------------------------------------------------------------- 1 | namespace IdentityServer4.Validation 2 | { 3 | /// 4 | /// Context for custom authorize request validation. 5 | /// 6 | public class CustomAuthorizeRequestValidationContext 7 | { 8 | /// 9 | /// The result of custom validation. 10 | /// 11 | public AuthorizeRequestValidationResult Result { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Contexts/CustomTokenRequestValidationContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServer4.Validation 6 | { 7 | /// 8 | /// Context class for custom token request validation 9 | /// 10 | public class CustomTokenRequestValidationContext 11 | { 12 | /// 13 | /// Gets or sets the result. 14 | /// 15 | /// 16 | /// The result. 17 | /// 18 | public TokenRequestValidationResult Result { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Contexts/ResourceValidationContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Class describing the resource validation context 11 | /// 12 | public class ResourceValidationContext 13 | { 14 | /// 15 | /// Gets or sets the result. 16 | /// 17 | /// 18 | /// The result. 19 | /// 20 | public GrantValidationResult Result { get; set; } = new GrantValidationResult(TokenRequestErrors.InvalidGrant); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IApiSecretValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Http; 7 | 8 | namespace IdentityServer4.Validation 9 | { 10 | /// 11 | /// Validator for handling API client authentication. 12 | /// 13 | public interface IApiSecretValidator 14 | { 15 | /// 16 | /// Tries to authenticate an API client based on the incoming request 17 | /// 18 | /// The context. 19 | /// 20 | Task ValidateAsync(HttpContext context); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IClientConfigurationValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Validator for handling client authentication 11 | /// 12 | public interface IClientConfigurationValidator 13 | { 14 | /// 15 | /// Determines whether the configuration of a client is valid. 16 | /// 17 | /// The context. 18 | /// 19 | Task ValidateAsync(ClientConfigurationValidationContext context); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IClientSecretValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | using Microsoft.AspNetCore.Http; 7 | 8 | namespace IdentityServer4.Validation 9 | { 10 | /// 11 | /// Validator for handling client authentication 12 | /// 13 | public interface IClientSecretValidator 14 | { 15 | /// 16 | /// Tries to authenticate a client based on the incoming request 17 | /// 18 | /// The context. 19 | /// 20 | Task ValidateAsync(HttpContext context); 21 | } 22 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/ICustomAuthorizeRequestValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Allows inserting custom validation logic into authorize and token requests 11 | /// 12 | public interface ICustomAuthorizeRequestValidator 13 | { 14 | /// 15 | /// Custom validation logic for the authorize request. 16 | /// 17 | /// The context. 18 | Task ValidateAsync(CustomAuthorizeRequestValidationContext context); 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/ICustomTokenRequestValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Allows inserting custom validation logic into token requests 11 | /// 12 | public interface ICustomTokenRequestValidator 13 | { 14 | /// 15 | /// Custom validation logic for a token request. 16 | /// 17 | /// The context. 18 | /// 19 | /// The validation result 20 | /// 21 | Task ValidateAsync(CustomTokenRequestValidationContext context); 22 | } 23 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IDeviceCodeValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// The device code validator 11 | /// 12 | public interface IDeviceCodeValidator 13 | { 14 | /// 15 | /// Validates the device code. 16 | /// 17 | /// The context. 18 | /// 19 | Task ValidateAsync(DeviceCodeValidationContext context); 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IResourceOwnerPasswordValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Handles validation of resource owner password credentials 11 | /// 12 | public interface IResourceOwnerPasswordValidator 13 | { 14 | /// 15 | /// Validates the resource owner password credential 16 | /// 17 | /// The context. 18 | Task ValidateAsync(ResourceOwnerPasswordValidationContext context); 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IResourceValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Validates requested resources (scopes and resource indicators) 11 | /// 12 | public interface IResourceValidator 13 | { 14 | // todo: should this be used anywhere we re-create tokens? do we need to re-run scope validation? 15 | 16 | /// 17 | /// Validates the requested resources for the client. 18 | /// 19 | Task ValidateRequestedResourcesAsync(ResourceValidationRequest request); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IScopeParser.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Allows parsing raw scopes values into structured scope values. 11 | /// 12 | public interface IScopeParser 13 | { 14 | // todo: test return no error, and no parsed scopes. how do callers behave? 15 | /// 16 | /// Parses the requested scopes. 17 | /// 18 | ParsedScopesResult ParseScopeValues(IEnumerable scopeValues); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/IUserInfoRequestValidator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Threading.Tasks; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Validator for userinfo requests 11 | /// 12 | public interface IUserInfoRequestValidator 13 | { 14 | /// 15 | /// Validates a userinfo request. 16 | /// 17 | /// The access token. 18 | /// 19 | Task ValidateRequestAsync(string accessToken); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Models/BearerTokenUsageType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | 6 | #pragma warning disable 1591 7 | 8 | namespace IdentityServer4.Validation 9 | { 10 | public enum BearerTokenUsageType 11 | { 12 | AuthorizationHeader = 0, 13 | PostBody = 1, 14 | QueryString = 2 15 | } 16 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Models/EndSessionCallbackValidationResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Validation result for end session callback requests. 11 | /// 12 | /// 13 | public class EndSessionCallbackValidationResult : ValidationResult 14 | { 15 | /// 16 | /// Gets the client front-channel logout urls. 17 | /// 18 | public IEnumerable FrontChannelLogoutUrls { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Models/EndSessionValidationResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace IdentityServer4.Validation 6 | { 7 | /// 8 | /// Validation result for end session requests 9 | /// 10 | /// 11 | public class EndSessionValidationResult : ValidationResult 12 | { 13 | /// 14 | /// Gets or sets the validated request. 15 | /// 16 | /// 17 | /// The validated request. 18 | /// 19 | public ValidatedEndSessionRequest ValidatedRequest { get; set; } 20 | } 21 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Models/JwtRequestValidationResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Models the result of JWT request validation. 11 | /// 12 | public class JwtRequestValidationResult : ValidationResult 13 | { 14 | /// 15 | /// The key/value pairs from the JWT payload of a successfuly validated request. 16 | /// 17 | public Dictionary Payload { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /others/IdentityServer4.EntityFramework/IdentityServer4/Validation/Models/ScopeSecretValidationResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | 7 | namespace IdentityServer4.Validation 8 | { 9 | /// 10 | /// Validation result for API validation 11 | /// 12 | public class ApiSecretValidationResult : ValidationResult 13 | { 14 | /// 15 | /// Gets or sets the resource. 16 | /// 17 | /// 18 | /// The resource. 19 | /// 20 | public ApiResource Resource { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiResourceClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | using FreeSql.DataAnnotations; 7 | 8 | namespace IdentityServer4.FreeSql.Storage.Entities 9 | { 10 | [Table(Name = "ids_api_resource_claims")] 11 | public class ApiResourceClaim : UserClaim 12 | { 13 | public long ApiResourceId { get; set; } 14 | 15 | [Navigate(nameof(Entities.ApiResource.Id))] 16 | public ApiResource ApiResource { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiResourceProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_api_resource_properties")] 12 | public class ApiResourceProperty : Property 13 | { 14 | public long ApiResourceId { get; set; } 15 | 16 | [Navigate(nameof(Entities.ApiResource.Id))] 17 | public ApiResource ApiResource { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiResourceScope.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | using FreeSql.DataAnnotations; 7 | 8 | namespace IdentityServer4.FreeSql.Storage.Entities 9 | { 10 | [Table(Name = "ids_api_resource_scopes")] 11 | public class ApiResourceScope : IEntity 12 | { 13 | [Column(StringLength = 200, IsNullable = false)] 14 | public string Scope { get; set; } 15 | 16 | public long ApiResourceId { get; set; } 17 | 18 | [Navigate(nameof(Entities.ApiResource.Id))] 19 | public ApiResource ApiResource { get; set; } 20 | } 21 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiResourceSecret.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_api_resource_secrets")] 12 | public class ApiResourceSecret : Secret 13 | { 14 | public long ApiResourceId { get; set; } 15 | 16 | [Navigate(nameof(Entities.ApiResource.Id))] 17 | public ApiResource ApiResource { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiScopeClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | #pragma warning disable 1591 5 | 6 | using FreeSql.DataAnnotations; 7 | 8 | namespace IdentityServer4.FreeSql.Storage.Entities 9 | { 10 | [Table(Name = "ids_api_scope_claims")] 11 | public class ApiScopeClaim : UserClaim 12 | { 13 | public long ScopeId { get; set; } 14 | 15 | [Navigate(nameof(ApiScope.Id))] 16 | public ApiScope Scope { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ApiScopeProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_api_scope_properties")] 12 | public class ApiScopeProperty : Property 13 | { 14 | public long ScopeId { get; set; } 15 | 16 | [Navigate(nameof(ApiScope.Id))] 17 | public ApiScope Scope { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_claims")] 12 | public class ClientClaim : IEntity 13 | { 14 | [Column(StringLength = 255, IsNullable = false)] 15 | public string Type { get; set; } 16 | 17 | [Column(StringLength = 255, IsNullable = false)] 18 | public string Value { get; set; } 19 | 20 | public long ClientId { get; set; } 21 | 22 | [Navigate(nameof(Entities.Client.ClientId))] 23 | public Client Client { get; set; } 24 | } 25 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientCorsOrigin.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_cors_origins")] 12 | public class ClientCorsOrigin : IEntity 13 | { 14 | [Column(StringLength = 150, IsNullable = false)] 15 | public string Origin { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientGrantType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_grant_types")] 12 | public class ClientGrantType : IEntity 13 | { 14 | [Column(StringLength = 255, IsNullable = false)] 15 | public string GrantType { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientIdPRestriction.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_id_prestriction")] 12 | public class ClientIdPRestriction : IEntity 13 | { 14 | [Column(StringLength = 255, IsNullable = false)] 15 | public string Provider { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientPostLogoutRedirectUri.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_post_logout_redirect_uri")] 12 | public class ClientPostLogoutRedirectUri : IEntity 13 | { 14 | [Column(DbType = "text", IsNullable = false)] 15 | public string PostLogoutRedirectUri { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_properties")] 12 | public class ClientProperty : Property 13 | { 14 | public long ClientId { get; set; } 15 | 16 | [Navigate(nameof(Entities.Client.ClientId))] 17 | public Client Client { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientRedirectUri.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_redirect_uri")] 12 | public class ClientRedirectUri : IEntity 13 | { 14 | [Column(DbType = "text", IsNullable = false)] 15 | public string RedirectUri { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientScope.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_scopes")] 12 | public class ClientScope : IEntity 13 | { 14 | [Column(StringLength = 255, IsNullable = false)] 15 | public string Scope { get; set; } 16 | 17 | public long ClientId { get; set; } 18 | 19 | [Navigate(nameof(Entities.Client.ClientId))] 20 | public Client Client { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/ClientSecret.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_client_secrets")] 12 | public class ClientSecret : Secret 13 | { 14 | public long ClientId { get; set; } 15 | 16 | [Navigate(nameof(Entities.Client.ClientId))] 17 | public Client Client { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/IdentityResourceClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_identity_resource_claims")] 12 | public class IdentityResourceClaim : UserClaim 13 | { 14 | public long IdentityResourceId { get; set; } 15 | 16 | [Navigate(nameof(Entities.IdentityResource.Id))] 17 | public IdentityResource IdentityResource { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/IdentityResourceProperty.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | [Table(Name = "ids_identity_resource_properties")] 12 | public class IdentityResourceProperty : Property 13 | { 14 | public long IdentityResourceId { get; set; } 15 | 16 | [Navigate(nameof(Entities.IdentityResource.Id))] 17 | public IdentityResource IdentityResource { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/Interface/IEntity.cs: -------------------------------------------------------------------------------- 1 | using FreeSql.DataAnnotations; 2 | using System.ComponentModel; 3 | 4 | namespace IdentityServer4.FreeSql.Storage.Entities 5 | { 6 | public abstract class IEntity where TKey : struct 7 | { 8 | /// 9 | /// Id 10 | /// 11 | [Description("Id")] 12 | [Column(IsPrimary = true, Position = 1)] 13 | public virtual TKey Id { get; set; } 14 | } 15 | 16 | public abstract class IEntity : IEntity 17 | { 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/Interface/Property.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | public abstract class Property : IEntity 12 | { 13 | [Column(StringLength = 255, IsNullable = false)] 14 | public string Key { get; set; } 15 | 16 | [Column(StringLength = 2000, IsNullable = false)] 17 | public string Value { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Entities/Interface/UserClaim.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | #pragma warning disable 1591 6 | 7 | using FreeSql.DataAnnotations; 8 | 9 | namespace IdentityServer4.FreeSql.Storage.Entities 10 | { 11 | public abstract class UserClaim : IEntity 12 | { 13 | [Column(StringLength = 200, IsNullable = false)] 14 | public string Type { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/IdentityServer4.FreeSql.Storage.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | <_LastSelectedProfileId>G:\Projects\oncemi_identityserver4\2.src\IdentityServer4.FreeSql.Storage\Properties\PublishProfiles\FolderProfile.pubxml 5 | 6 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Mappers/PersistedGrantMapperProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace IdentityServer4.FreeSql.Storage.Mappers 4 | { 5 | /// 6 | /// Defines entity/model mapping for persisted grants. 7 | /// 8 | /// 9 | public class PersistedGrantMapperProfile : Profile 10 | { 11 | /// 12 | /// 13 | /// 14 | /// 15 | public PersistedGrantMapperProfile() 16 | { 17 | CreateMap(MemberList.Destination) 18 | .ReverseMap(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Options/StorageCaches.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace IdentityServer4.FreeSql.Storage.Options 3 | { 4 | public class StorageCaches 5 | { 6 | public const string CLIENT_ALLRESOURCES = "ONCEMI_IDENTITY_CLIENT_ALLRESOURCES"; 7 | 8 | public const string CLIENT = "ONCEMI_IDENTITY_CLIENT_{0}"; 9 | 10 | public static string GetClientCacheKey(string clientId) 11 | { 12 | return string.Format(CLIENT, clientId); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | Release 8 | Any CPU 9 | bin\Release\publish\ 10 | FileSystem 11 | 12 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql.Storage/Properties/PublishProfiles/FolderProfile.pubxml.user: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | True|2021-06-06T13:58:53.8115216Z; 8 | 9 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql/IdentityServer4.FreeSql.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | <_LastSelectedProfileId>G:\Projects\oncemi_identityserver4\2.src\IdentityServer4.FreeSql\Properties\PublishProfiles\FolderProfile.pubxml 5 | 6 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | Release 8 | Any CPU 9 | bin\Release\publish\ 10 | FileSystem 11 | 12 | -------------------------------------------------------------------------------- /src/IdentityServer4.FreeSql/Properties/PublishProfiles/FolderProfile.pubxml.user: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | True|2021-06-06T13:57:09.6789733Z; 8 | 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4.User/Models/OrganizeJwtClaimType.cs: -------------------------------------------------------------------------------- 1 |  2 | 3 | namespace OnceMi.IdentityServer4.User 4 | { 5 | public class OrganizeJwtClaimType 6 | { 7 | public const string Organize = "organize"; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4.User/OnceMi.IdentityServer4.User.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | <_LastSelectedProfileId>G:\Projects\OnceMi\oncemi_identityserver4\src\OnceMi.IdentityServer4.User\Properties\PublishProfiles\FolderProfile.pubxml 5 | false 6 | 7 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4.User/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | Release 8 | Any CPU 9 | bin\Release\publish\ 10 | FileSystem 11 | 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4.User/Properties/PublishProfiles/FolderProfile.pubxml.user: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | True|2021-10-15T00:00:35.3466883Z;True|2021-08-20T17:56:11.8074340+08:00;True|2021-08-20T17:32:21.4675420+08:00;True|2021-07-10T12:22:45.4082086+08:00;True|2021-07-10T00:12:20.9334748+08:00;True|2021-07-10T00:10:49.6686416+08:00;True|2021-07-08T22:30:55.3193214+08:00;True|2021-06-20T22:29:30.5283004+08:00;True|2021-06-16T19:48:37.9757424+08:00;True|2021-06-09T15:01:19.9731682+08:00; 8 | 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "dotnet-ef": { 6 | "version": "5.0.6", 7 | "commands": [ 8 | "dotnet-ef" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Cert/idsrv4.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Cert/idsrv4.pfx -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Cert/password.txt: -------------------------------------------------------------------------------- 1 | 123456 -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Controllers/Account/AccountController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Controllers/Account/AccountController.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Extensions/Utils/Json/Converters/DateTimeConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text.Json; 3 | using System.Text.Json.Serialization; 4 | 5 | namespace OnceMi.IdentityServer4.Extensions.Utils 6 | { 7 | public class DateTimeConverter : JsonConverter 8 | { 9 | public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 10 | { 11 | return DateTime.Parse(reader.GetString()); 12 | } 13 | 14 | public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) 15 | { 16 | writer.WriteStringValue(value.ToString("yyyy-MM-dd HH:mm:ss")); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Extensions/Utils/Json/Converters/DateTimeNullableConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text.Json; 3 | using System.Text.Json.Serialization; 4 | 5 | namespace OnceMi.IdentityServer4.Extensions.Utils 6 | { 7 | public class DateTimeNullableConverter : JsonConverter 8 | { 9 | public override DateTime? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 10 | { 11 | return string.IsNullOrEmpty(reader.GetString()) ? default(DateTime?) : DateTime.Parse(reader.GetString()); 12 | } 13 | 14 | public override void Write(Utf8JsonWriter writer, DateTime? value, JsonSerializerOptions options) 15 | { 16 | writer.WriteStringValue(value?.ToString("yyyy-MM-dd HH:mm:ss")); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Extensions/Utils/Json/Converters/TypeConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text.Json; 3 | using System.Text.Json.Serialization; 4 | 5 | namespace OnceMi.IdentityServer4.Extensions.Utils 6 | { 7 | public class TypeConverter : JsonConverter 8 | { 9 | public override Type Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 10 | { 11 | throw new NotSupportedException(); 12 | } 13 | 14 | public override void Write(Utf8JsonWriter writer, Type value, JsonSerializerOptions options) 15 | { 16 | writer.WriteStringValue(value.AssemblyQualifiedName); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/AccountOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Models/Account/AccountOptions.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/CustumClaimTypes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace OnceMi.IdentityServer4.Models.Account 7 | { 8 | /// 9 | /// 自定义的Claim 10 | /// 11 | public class CustumClaimTypes 12 | { 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/ExternalProvider.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | namespace OnceMi.IdentityServer4.Models 5 | { 6 | public class ExternalProvider 7 | { 8 | public string DisplayName { get; set; } 9 | public string AuthenticationScheme { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/LoggedOutViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class LoggedOutViewModel 8 | { 9 | public string PostLogoutRedirectUri { get; set; } 10 | public string ClientName { get; set; } 11 | public string SignOutIframeUrl { get; set; } 12 | 13 | public bool AutomaticRedirectAfterSignOut { get; set; } 14 | 15 | public string LogoutId { get; set; } 16 | public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; 17 | public string ExternalAuthenticationScheme { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/LoginInputModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Models/Account/LoginInputModel.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/LoginResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace OnceMi.IdentityServer4.Models 7 | { 8 | public class LoginResult 9 | { 10 | public bool IsRedirect { get; set; } 11 | 12 | public string RedirectUrl { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/LogoutInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class LogoutInputModel 8 | { 9 | public string LogoutId { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/LogoutViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class LogoutViewModel : LogoutInputModel 8 | { 9 | public bool ShowLogoutPrompt { get; set; } = true; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/RedirectViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | 6 | namespace OnceMi.IdentityServer4.Models 7 | { 8 | public class RedirectViewModel 9 | { 10 | public string RedirectUrl { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Account/TestUserData.cs: -------------------------------------------------------------------------------- 1 | using IdentityServer4.FreeSql.Storage.Entities; 2 | using OnceMi.Framework.Entity.Admin; 3 | using System.Collections.Generic; 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class TestUserData 8 | { 9 | public List Roles { get; set; } 10 | 11 | public List Users { get; set; } 12 | 13 | public List Resources { get; set; } 14 | 15 | public List ApiScopes { get; set; } 16 | 17 | public List ApiResources { get; set; } 18 | 19 | public List Clients { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Consent/ConsentInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace OnceMi.IdentityServer4.Models 8 | { 9 | public class ConsentInputModel 10 | { 11 | public string Button { get; set; } 12 | public IEnumerable ScopesConsented { get; set; } 13 | public bool RememberConsent { get; set; } 14 | public string ReturnUrl { get; set; } 15 | public string Description { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Consent/ConsentOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Models/Consent/ConsentOptions.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Consent/ConsentViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using System.Collections.Generic; 6 | 7 | namespace OnceMi.IdentityServer4.Models 8 | { 9 | public class ConsentViewModel : ConsentInputModel 10 | { 11 | public string ClientName { get; set; } 12 | public string ClientUrl { get; set; } 13 | public string ClientLogoUrl { get; set; } 14 | public bool AllowRememberConsent { get; set; } 15 | 16 | public IEnumerable IdentityScopes { get; set; } 17 | public IEnumerable ApiScopes { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Consent/ProcessConsentResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | using OnceMi.IdentityServer4.Models; 7 | 8 | namespace OnceMi.IdentityServer4.Models 9 | { 10 | public class ProcessConsentResult 11 | { 12 | public bool IsRedirect => RedirectUri != null; 13 | public string RedirectUri { get; set; } 14 | public Client Client { get; set; } 15 | 16 | public bool ShowView => ViewModel != null; 17 | 18 | public ConsentViewModel ViewModel { get; set; } 19 | 20 | public bool HasValidationError => ValidationError != null; 21 | public string ValidationError { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Consent/ScopeViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class ScopeViewModel 8 | { 9 | public string Value { get; set; } 10 | public string DisplayName { get; set; } 11 | public string Description { get; set; } 12 | public bool Emphasize { get; set; } 13 | public bool Required { get; set; } 14 | public bool Checked { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Device/DeviceAuthorizationInputModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class DeviceAuthorizationInputModel : ConsentInputModel 8 | { 9 | public string UserCode { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Device/DeviceAuthorizationViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | namespace OnceMi.IdentityServer4.Models 6 | { 7 | public class DeviceAuthorizationViewModel : ConsentViewModel 8 | { 9 | public string UserCode { get; set; } 10 | public bool ConfirmUserCode { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Models/Home/ErrorViewModel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | 5 | using IdentityServer4.Models; 6 | 7 | namespace OnceMi.IdentityServer4.Models 8 | { 9 | public class ErrorViewModel 10 | { 11 | public ErrorViewModel() 12 | { 13 | } 14 | 15 | public ErrorViewModel(string error) 16 | { 17 | Error = new ErrorMessage { Error = error }; 18 | } 19 | 20 | public ErrorMessage Error { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Program.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/Startup.cs -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/Account/AccessDenied.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "拒绝访问"; 3 | } 4 | 5 |
6 |
7 |
8 |
9 |

拒绝访问

10 |

你没有访问该资源的权限,请联系管理员。

11 |
12 |
13 |
14 |
-------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/Device/Success.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "授权设备"; 3 | } 4 | 5 |
6 |
7 |
8 |
9 |

成功

10 |

你成功授权了该设备

11 |
12 |
13 |
14 |
15 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/Device/UserCodeCapture.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 |
4 |
5 |

User Code

6 |

Please enter the code displayed on your device.

7 |
8 | 9 | 10 | 11 |
12 |
13 |
14 |
15 | 16 | 17 |
18 | 19 | 20 |
21 |
22 |
23 |
24 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/Shared/Redirect.cshtml: -------------------------------------------------------------------------------- 1 | @model RedirectViewModel 2 | 3 |
4 |
5 |

你正跳转到指定应用...

6 |

操作完成后,您可以关闭此标签。

7 |
8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/Shared/_ValidationSummary.cshtml: -------------------------------------------------------------------------------- 1 | @if (ViewContext.ModelState.IsValid == false) 2 | { 3 |
4 | 登录失败 5 |
6 |
7 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using OnceMi.IdentityServer4.Models 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "AppSettings": { 11 | "AppId": 63 12 | }, 13 | "Certificates": { 14 | "Path": "Cert/idsrv4.pfx", 15 | "Password": "123456" 16 | }, 17 | "DbConnectionString": { 18 | "DbType": "Sqlite", //DbType枚举:MySql/SqlServer/PostgreSQL/Oracle/Sqlite 19 | "ConnectionString": "Data Source=/oncemi/data/app.db; Pooling=true;Min Pool Size=5" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "AppSettings": { 11 | "AppId": 63 12 | }, 13 | "Certificates": { 14 | "Path": "Cert/idsrv4.pfx", 15 | "Password": "123456" 16 | }, 17 | "DbConnectionString": { 18 | "DbType": "Sqlite", //DbType枚举:MySql/SqlServer/PostgreSQL/Oracle/Sqlite 19 | "ConnectionString": "Data Source=/oncemi/data/app.db; Pooling=true;Min Pool Size=5" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/bootstrap/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.eot -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.ttf -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/fonts/icomoon/icomoon.woff -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/images/bg_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/images/bg_2.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/images/geometry2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/images/geometry2.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/account/images/sq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/account/images/sq.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/css/site.css: -------------------------------------------------------------------------------- 1 | .body-container { 2 | margin-top: 60px; 3 | padding-bottom: 40px; } 4 | 5 | .welcome-page li { 6 | list-style: none; 7 | padding: 4px; } 8 | 9 | .logged-out-page iframe { 10 | display: none; 11 | width: 0; 12 | height: 0; } 13 | 14 | .grants-page .card { 15 | margin-top: 20px; 16 | border-bottom: 1px solid lightgray; } 17 | .grants-page .card .card-title { 18 | font-size: 120%; 19 | font-weight: bold; } 20 | .grants-page .card .card-title img { 21 | width: 100px; 22 | height: 100px; } 23 | .grants-page .card label { 24 | font-weight: bold; } 25 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/css/site.min.css: -------------------------------------------------------------------------------- 1 | .body-container{margin-top:60px;padding-bottom:40px;}.welcome-page li{list-style:none;padding:4px;}.logged-out-page iframe{display:none;width:0;height:0;}.grants-page .card{margin-top:20px;border-bottom:1px solid #d3d3d3;}.grants-page .card .card-title{font-size:120%;font-weight:bold;}.grants-page .card .card-title img{width:100px;height:100px;}.grants-page .card label{font-weight:bold;} -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/css/site.scss: -------------------------------------------------------------------------------- 1 | .body-container { 2 | margin-top: 60px; 3 | padding-bottom:40px; 4 | } 5 | 6 | .welcome-page { 7 | li { 8 | list-style: none; 9 | padding: 4px; 10 | } 11 | } 12 | 13 | .logged-out-page { 14 | iframe { 15 | display: none; 16 | width: 0; 17 | height: 0; 18 | } 19 | } 20 | 21 | .grants-page { 22 | .card { 23 | margin-top: 20px; 24 | border-bottom: 1px solid lightgray; 25 | 26 | .card-title { 27 | img { 28 | width: 100px; 29 | height: 100px; 30 | } 31 | 32 | font-size: 120%; 33 | font-weight: bold; 34 | } 35 | 36 | label { 37 | font-weight: bold; 38 | } 39 | } 40 | } 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/icon.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/icon.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/js/signin-redirect.js: -------------------------------------------------------------------------------- 1 | window.location.href = document.querySelector("meta[http-equiv=refresh]").getAttribute("data-url"); 2 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/js/signout-redirect.js: -------------------------------------------------------------------------------- 1 | window.addEventListener("load", function () { 2 | var a = document.querySelector("a.PostLogoutRedirectUri"); 3 | if (a) { 4 | window.location = a.href; 5 | } 6 | }); 7 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | .jumbotron { 2 | padding: $jumbotron-padding ($jumbotron-padding / 2); 3 | margin-bottom: $jumbotron-padding; 4 | color: $jumbotron-color; 5 | background-color: $jumbotron-bg; 6 | @include border-radius($border-radius-lg); 7 | 8 | @include media-breakpoint-up(sm) { 9 | padding: ($jumbotron-padding * 2) $jumbotron-padding; 10 | } 11 | } 12 | 13 | .jumbotron-fluid { 14 | padding-right: 0; 15 | padding-left: 0; 16 | @include border-radius(0); 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/_media.scss: -------------------------------------------------------------------------------- 1 | .media { 2 | display: flex; 3 | align-items: flex-start; 4 | } 5 | 6 | .media-body { 7 | flex: 1; 8 | } 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/_root.scss: -------------------------------------------------------------------------------- 1 | // Do not forget to update getting-started/theming.md! 2 | :root { 3 | // Custom variable values only support SassScript inside `#{}`. 4 | @each $color, $value in $colors { 5 | --#{$color}: #{$value}; 6 | } 7 | 8 | @each $color, $value in $theme-colors { 9 | --#{$color}: #{$value}; 10 | } 11 | 12 | @each $bp, $value in $grid-breakpoints { 13 | --breakpoint-#{$bp}: #{$value}; 14 | } 15 | 16 | // Use `inspect` for lists so that quoted items keep the quotes. 17 | // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 18 | --font-family-sans-serif: #{inspect($font-family-sans-serif)}; 19 | --font-family-monospace: #{inspect($font-family-monospace)}; 20 | } 21 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/_transitions.scss: -------------------------------------------------------------------------------- 1 | .fade { 2 | @include transition($transition-fade); 3 | 4 | &:not(.show) { 5 | opacity: 0; 6 | } 7 | } 8 | 9 | .collapse { 10 | &:not(.show) { 11 | display: none; 12 | } 13 | } 14 | 15 | .collapsing { 16 | position: relative; 17 | height: 0; 18 | overflow: hidden; 19 | @include transition($transition-collapse); 20 | } 21 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/_utilities.scss: -------------------------------------------------------------------------------- 1 | @import "utilities/align"; 2 | @import "utilities/background"; 3 | @import "utilities/borders"; 4 | @import "utilities/clearfix"; 5 | @import "utilities/display"; 6 | @import "utilities/embed"; 7 | @import "utilities/flex"; 8 | @import "utilities/float"; 9 | @import "utilities/overflow"; 10 | @import "utilities/position"; 11 | @import "utilities/screenreaders"; 12 | @import "utilities/shadows"; 13 | @import "utilities/sizing"; 14 | @import "utilities/stretched-link"; 15 | @import "utilities/spacing"; 16 | @import "utilities/text"; 17 | @import "utilities/visibility"; 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/bootstrap-grid.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grid v4.4.1 (https://getbootstrap.com/) 3 | * Copyright 2011-2019 The Bootstrap Authors 4 | * Copyright 2011-2019 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | html { 9 | box-sizing: border-box; 10 | -ms-overflow-style: scrollbar; 11 | } 12 | 13 | *, 14 | *::before, 15 | *::after { 16 | box-sizing: inherit; 17 | } 18 | 19 | @import "functions"; 20 | @import "variables"; 21 | 22 | @import "mixins/breakpoints"; 23 | @import "mixins/grid-framework"; 24 | @import "mixins/grid"; 25 | 26 | @import "grid"; 27 | @import "utilities/display"; 28 | @import "utilities/flex"; 29 | @import "utilities/spacing"; 30 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/) 3 | * Copyright 2011-2019 The Bootstrap Authors 4 | * Copyright 2011-2019 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */ 8 | 9 | @import "functions"; 10 | @import "variables"; 11 | @import "mixins"; 12 | @import "reboot"; 13 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | @mixin alert-variant($background, $border, $color) { 2 | color: $color; 3 | @include gradient-bg($background); 4 | border-color: $border; 5 | 6 | hr { 7 | border-top-color: darken($border, 5%); 8 | } 9 | 10 | .alert-link { 11 | color: darken($color, 10%); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Contextual backgrounds 4 | 5 | @mixin bg-variant($parent, $color, $ignore-warning: false) { 6 | #{$parent} { 7 | background-color: $color !important; 8 | } 9 | a#{$parent}, 10 | button#{$parent} { 11 | @include hover-focus() { 12 | background-color: darken($color, 10%) !important; 13 | } 14 | } 15 | @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning); 16 | } 17 | 18 | @mixin bg-gradient-variant($parent, $color) { 19 | #{$parent} { 20 | background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_badge.scss: -------------------------------------------------------------------------------- 1 | @mixin badge-variant($bg) { 2 | color: color-yiq($bg); 3 | background-color: $bg; 4 | 5 | @at-root a#{&} { 6 | @include hover-focus() { 7 | color: color-yiq($bg); 8 | background-color: darken($bg, 10%); 9 | } 10 | 11 | &:focus, 12 | &.focus { 13 | outline: 0; 14 | box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss: -------------------------------------------------------------------------------- 1 | @mixin box-shadow($shadow...) { 2 | @if $enable-shadows { 3 | $result: (); 4 | 5 | @if (length($shadow) == 1) { 6 | // We can pass `@include box-shadow(none);` 7 | $result: $shadow; 8 | } @else { 9 | // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;` 10 | @for $i from 1 through length($shadow) { 11 | @if nth($shadow, $i) != "none" { 12 | $result: append($result, nth($shadow, $i), "comma"); 13 | } 14 | } 15 | } 16 | @if (length($result) > 0) { 17 | box-shadow: $result; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | @mixin clearfix() { 2 | &::after { 3 | display: block; 4 | clear: both; 5 | content: ""; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss: -------------------------------------------------------------------------------- 1 | // Deprecate mixin 2 | // 3 | // This mixin can be used to deprecate mixins or functions. 4 | // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to 5 | // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap) 6 | @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) { 7 | @if ($enable-deprecation-messages != false and $ignore-warning != true) { 8 | @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}."; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_float.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @mixin float-left() { 4 | float: left !important; 5 | @include deprecate("The `float-left` mixin", "v4.3.0", "v5"); 6 | } 7 | @mixin float-right() { 8 | float: right !important; 9 | @include deprecate("The `float-right` mixin", "v4.3.0", "v5"); 10 | } 11 | @mixin float-none() { 12 | float: none !important; 13 | @include deprecate("The `float-none` mixin", "v4.3.0", "v5"); 14 | } 15 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_list-group.scss: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | @mixin list-group-item-variant($state, $background, $color) { 4 | .list-group-item-#{$state} { 5 | color: $color; 6 | background-color: $background; 7 | 8 | &.list-group-item-action { 9 | @include hover-focus() { 10 | color: $color; 11 | background-color: darken($background, 5%); 12 | } 13 | 14 | &.active { 15 | color: $white; 16 | background-color: $color; 17 | border-color: $color; 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled() { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | @mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y, $ignore-warning: false) { 6 | height: 0; 7 | margin: $margin-y 0; 8 | overflow: hidden; 9 | border-top: 1px solid $color; 10 | @include deprecate("The `nav-divider()` mixin", "v4.4.0", "v5", $ignore-warning); 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | @mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) { 4 | .page-link { 5 | padding: $padding-y $padding-x; 6 | @include font-size($font-size); 7 | line-height: $line-height; 8 | } 9 | 10 | .page-item { 11 | &:first-child { 12 | .page-link { 13 | @include border-left-radius($border-radius); 14 | } 15 | } 16 | &:last-child { 17 | .page-link { 18 | @include border-right-radius($border-radius); 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text() { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size or word-wrap. 4 | font-style: normal; 5 | font-weight: $font-weight-normal; 6 | line-height: $line-height-base; 7 | text-align: left; // Fallback for where `start` is not supported 8 | text-align: start; 9 | text-decoration: none; 10 | text-shadow: none; 11 | text-transform: none; 12 | letter-spacing: normal; 13 | word-break: normal; 14 | word-spacing: normal; 15 | white-space: normal; 16 | line-break: auto; 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 5 | resize: $direction; // Options: horizontal, vertical, both 6 | } 7 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_size.scss: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | @mixin size($width, $height: $width) { 4 | width: $width; 5 | height: $height; 6 | @include deprecate("`size()`", "v4.3.0", "v5"); 7 | } 8 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Typography 4 | 5 | @mixin text-emphasis-variant($parent, $color, $ignore-warning: false) { 6 | #{$parent} { 7 | color: $color !important; 8 | } 9 | @if $emphasized-link-hover-darken-percentage != 0 { 10 | a#{$parent} { 11 | @include hover-focus() { 12 | color: darken($color, $emphasized-link-hover-darken-percentage) !important; 13 | } 14 | } 15 | } 16 | @include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning); 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | @mixin text-hide($ignore-warning: false) { 3 | // stylelint-disable-next-line font-family-no-missing-generic-family-keyword 4 | font: 0/0 a; 5 | color: transparent; 6 | text-shadow: none; 7 | background-color: transparent; 8 | border: 0; 9 | 10 | @include deprecate("`text-hide()`", "v4.1.0", "v5", $ignore-warning); 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_transition.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable property-blacklist 2 | @mixin transition($transition...) { 3 | @if $enable-transitions { 4 | @if length($transition) == 0 { 5 | transition: $transition-base; 6 | } @else { 7 | transition: $transition; 8 | } 9 | } 10 | 11 | @if $enable-prefers-reduced-motion-media-query { 12 | @media (prefers-reduced-motion: reduce) { 13 | transition: none; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/mixins/_visibility.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Visibility 4 | 5 | @mixin invisible($visibility) { 6 | visibility: $visibility !important; 7 | @include deprecate("`invisible()`", "v4.3.0", "v5"); 8 | } 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_align.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | .align-baseline { vertical-align: baseline !important; } // Browser default 4 | .align-top { vertical-align: top !important; } 5 | .align-middle { vertical-align: middle !important; } 6 | .align-bottom { vertical-align: bottom !important; } 7 | .align-text-bottom { vertical-align: text-bottom !important; } 8 | .align-text-top { vertical-align: text-top !important; } 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_background.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $color, $value in $theme-colors { 4 | @include bg-variant(".bg-#{$color}", $value, true); 5 | } 6 | 7 | @if $enable-gradients { 8 | @each $color, $value in $theme-colors { 9 | @include bg-gradient-variant(".bg-gradient-#{$color}", $value); 10 | } 11 | } 12 | 13 | .bg-white { 14 | background-color: $white !important; 15 | } 16 | 17 | .bg-transparent { 18 | background-color: transparent !important; 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss: -------------------------------------------------------------------------------- 1 | .clearfix { 2 | @include clearfix(); 3 | } 4 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_display.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // 4 | // Utilities for common `display` values 5 | // 6 | 7 | @each $breakpoint in map-keys($grid-breakpoints) { 8 | @include media-breakpoint-up($breakpoint) { 9 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 10 | 11 | @each $value in $displays { 12 | .d#{$infix}-#{$value} { display: $value !important; } 13 | } 14 | } 15 | } 16 | 17 | 18 | // 19 | // Utilities for toggling `display` in print 20 | // 21 | 22 | @media print { 23 | @each $value in $displays { 24 | .d-print-#{$value} { display: $value !important; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_float.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $breakpoint in map-keys($grid-breakpoints) { 4 | @include media-breakpoint-up($breakpoint) { 5 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 6 | 7 | .float#{$infix}-left { float: left !important; } 8 | .float#{$infix}-right { float: right !important; } 9 | .float#{$infix}-none { float: none !important; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_overflow.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | @each $value in $overflows { 4 | .overflow-#{$value} { overflow: $value !important; } 5 | } 6 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_position.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Common values 4 | @each $position in $positions { 5 | .position-#{$position} { position: $position !important; } 6 | } 7 | 8 | // Shorthand 9 | 10 | .fixed-top { 11 | position: fixed; 12 | top: 0; 13 | right: 0; 14 | left: 0; 15 | z-index: $zindex-fixed; 16 | } 17 | 18 | .fixed-bottom { 19 | position: fixed; 20 | right: 0; 21 | bottom: 0; 22 | left: 0; 23 | z-index: $zindex-fixed; 24 | } 25 | 26 | .sticky-top { 27 | @supports (position: sticky) { 28 | position: sticky; 29 | top: 0; 30 | z-index: $zindex-sticky; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Screenreaders 3 | // 4 | 5 | .sr-only { 6 | @include sr-only(); 7 | } 8 | 9 | .sr-only-focusable { 10 | @include sr-only-focusable(); 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_shadows.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | .shadow-sm { box-shadow: $box-shadow-sm !important; } 4 | .shadow { box-shadow: $box-shadow !important; } 5 | .shadow-lg { box-shadow: $box-shadow-lg !important; } 6 | .shadow-none { box-shadow: none !important; } 7 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_sizing.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Width and height 4 | 5 | @each $prop, $abbrev in (width: w, height: h) { 6 | @each $size, $length in $sizes { 7 | .#{$abbrev}-#{$size} { #{$prop}: $length !important; } 8 | } 9 | } 10 | 11 | .mw-100 { max-width: 100% !important; } 12 | .mh-100 { max-height: 100% !important; } 13 | 14 | // Viewport additional helpers 15 | 16 | .min-vw-100 { min-width: 100vw !important; } 17 | .min-vh-100 { min-height: 100vh !important; } 18 | 19 | .vw-100 { width: 100vw !important; } 20 | .vh-100 { height: 100vh !important; } 21 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Stretched link 3 | // 4 | 5 | .stretched-link { 6 | &::after { 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | bottom: 0; 11 | left: 0; 12 | z-index: 1; 13 | // Just in case `pointer-events: none` is set on a parent 14 | pointer-events: auto; 15 | content: ""; 16 | // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color 17 | background-color: rgba(0, 0, 0, 0); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/bootstrap/scss/utilities/_visibility.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // 4 | // Visibility utilities 5 | // 6 | 7 | .visible { 8 | visibility: visible !important; 9 | } 10 | 11 | .invisible { 12 | visibility: hidden !important; 13 | } 14 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/icon-ext.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/icon.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-0.gif -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-1.gif -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/layer/theme/default/loading-2.gif -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/404.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/captcha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/captcha.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/1.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/10.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/11.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/13.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/14.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/15.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/16.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/17.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/2.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/3.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/4.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/5.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/6.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/7.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/8.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/gallery/9.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/img-placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/img-placeholder.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-1.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-2.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-3.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/login-bg-4.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo-ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo-ico.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo-sidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo-sidebar.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/logo.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-1.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-2.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-3.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-4.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/slide/img-slide-5.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-1.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-2.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-3.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-4.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-5.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-6.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar-7.png -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oncemi/IdentityServer4.FreeSql/e45a183b97f3be6dd3bea0856532b973d3362bab/src/OnceMi.IdentityServer4/wwwroot/lib/light/images/users/avatar.jpg -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.datepicker.dates["zh-CN"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["周日","周一","周二","周三","周四","周五","周六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",monthsTitle:"选择月份",clear:"清除",format:"yyyy-mm-dd",titleFormat:"yyyy年mm月",weekStart:1}}(jQuery); -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.datepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",format:"yyyy年mm月dd日",weekStart:1,clear:"清除"}}(jQuery); -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.16.0 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | .table-cell-input{display:block!important;padding:5px!important;margin:0!important;border:0!important;width:100%!important;box-sizing:border-box!important;-moz-box-sizing:border-box!important;border-radius:0!important;line-height:1!important;white-space:nowrap} -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 3 | * 4 | * @version v1.16.0 5 | * @homepage https://bootstrap-table.com 6 | * @author wenzhixin (http://wenzhixin.net.cn/) 7 | * @license MIT 8 | */ 9 | 10 | @charset "UTF-8";.no-filter-control{height:34px}.filter-control{margin:0 2px 2px 2px} -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.scss: -------------------------------------------------------------------------------- 1 | .fixed-columns, 2 | .fixed-columns-right { 3 | position: absolute; 4 | top: 0; 5 | height: 100%; 6 | background-color: #fff; 7 | box-sizing: border-box; 8 | z-index: 1; 9 | } 10 | 11 | .fixed-columns { 12 | left: 0; 13 | 14 | .fixed-table-body { 15 | overflow: hidden!important; 16 | } 17 | } 18 | 19 | .fixed-columns-right { 20 | right: 0; 21 | 22 | .fixed-table-body { 23 | overflow-x: hidden!important; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.scss: -------------------------------------------------------------------------------- 1 | .bootstrap-table .table > tbody > tr.groupBy { 2 | cursor: pointer; 3 | } 4 | 5 | .bootstrap-table .table > tbody > tr.hidden + tr.detail-view { 6 | display: none; 7 | } 8 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/group-by-v2/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Group By V2", 3 | "version": "1.0.0", 4 | "description": "Group the data by field", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/group-by-v2", 6 | "example": "", 7 | "plugins": [], 8 | "author": { 9 | "name": "Knoxvillekm", 10 | "image": "https://avatars3.githubusercontent.com/u/11072464" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/i18n-enhance/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "i18n Enhance", 3 | "version": "1.0.0", 4 | "description": "Plugin to add i18n API in order to change column's title and table locale.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/i18n-enhance", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/i18n-enhance.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-i18n-enhance", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/i18n-enhance" 11 | }], 12 | 13 | "author": { 14 | "name": "Jewway", 15 | "image": "https://avatars0.githubusercontent.com/u/3501899" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/key-events/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Key Events", 3 | "version": "1.0.0", 4 | "description": "Plugin to support the key events in the bootstrap table.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/key-events", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/key-events.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-key-events", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/key-events" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/mobile/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Mobile", 3 | "version": "1.1.0", 4 | "description": "Plugin to support the responsive feature.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/mobile", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/mobile.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-mobile", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/mobile" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/multiple-sort/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Multiple Sort", 3 | "version": "1.1.0", 4 | "description": "Plugin to support the multiple sort.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/multiple-sort", 6 | "example": "#", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-multiple-sort", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/multiple-sort" 11 | }], 12 | 13 | "author": { 14 | "name": "dimbslmh", 15 | "image": "https://avatars1.githubusercontent.com/u/745635" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.scss: -------------------------------------------------------------------------------- 1 | .bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination ul.pagination, 2 | .bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination .page-jump-to { 3 | display: inline; 4 | } 5 | 6 | .bootstrap-table .fixed-table-pagination > .pagination .page-jump-to input { 7 | width: 70px; 8 | margin-left: 5px; 9 | text-align: center; 10 | float: left; 11 | } 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/pipeline/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Pipeline", 3 | "version": "1.0.0", 4 | "description": "Plugin to support a hybrid approach to server/client side paging.", 5 | "url": "", 6 | "example": "#", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-pipeline", 10 | "url": "" 11 | }], 12 | 13 | "author": { 14 | "name": "doug-the-guy", 15 | "image": "" 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/reorder-columns/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Reorder Columns", 3 | "version": "1.1.0", 4 | "description": "Plugin to support the reordering columns feature.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/reorder-columns", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/reorder-columns.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-reorder-columns", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/reorder-columns" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/reorder-rows/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Reorder Rows", 3 | "version": "1.0.0", 4 | "description": "Plugin to support the reordering rows feature.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/reorder-rows", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/reorder-rows.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-reorder-rows", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/reorder-rows" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/resizable/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Resizable", 3 | "version": "1.1.0", 4 | "description": "Plugin to support the resizable feature.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/resizable", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/resizable.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-resizable", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/resizable" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @author vincent loh 3 | * @update zhixin wen 4 | */ 5 | 6 | .fix-sticky { 7 | position: fixed !important; 8 | overflow: hidden; 9 | z-index: 100; 10 | } 11 | 12 | .fix-sticky table thead { 13 | background: #fff; 14 | } 15 | 16 | .fix-sticky table thead.thead-light { 17 | background: #e9ecef; 18 | } 19 | 20 | .fix-sticky table thead.thead-dark { 21 | background: #212529; 22 | } 23 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/sticky-header/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sticky Header", 3 | "version": "1.0.0", 4 | "description": "An extension which provides a sticky header for table columns when scrolling on a long page and / or table. Works for tables with many columns and narrow width with horizontal scrollbars too.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/sticky-header", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/sticky-header.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-sticky-header", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/sticky-header" 11 | }], 12 | 13 | "author": { 14 | "name": "vinzloh", 15 | "image": "https://avatars0.githubusercontent.com/u/5501845" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/bootstrap-table/extensions/toolbar/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Toolbar", 3 | "version": "2.0.0", 4 | "description": "Plugin to support the advanced search.", 5 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/toolbar", 6 | "example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/toolbar.html", 7 | 8 | "plugins": [{ 9 | "name": "bootstrap-table-toolbar", 10 | "url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/toolbar" 11 | }], 12 | 13 | "author": { 14 | "name": "djhvscf", 15 | "image": "https://avatars1.githubusercontent.com/u/4496763" 16 | } 17 | } -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/bootstrap/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Bootstrap Plugin 3 | 4 | Bootstrap 4 theming for your calendar 5 | 6 | [View the docs »](https://fullcalendar.io/docs/bootstrap-theme) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/bootstrap/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // ../../../../../@fullcalendar/core 4 | 5 | declare module '@fullcalendar/bootstrap' { 6 | import { Theme } from '@fullcalendar/core'; 7 | export class BootstrapTheme extends Theme { 8 | } 9 | const _default: import("@fullcalendar/core").PluginDef; 10 | export default _default; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/bootstrap/main.min.css: -------------------------------------------------------------------------------- 1 | .fc.fc-bootstrap a{text-decoration:none}.fc.fc-bootstrap a[data-goto]:hover{text-decoration:underline}.fc-bootstrap hr.fc-divider{border-color:inherit}.fc-bootstrap .fc-today.alert{border-radius:0}.fc-bootstrap a.fc-event:not([href]):not([tabindex]){color:#fff}.fc-bootstrap .fc-popover.card{position:absolute}.fc-bootstrap .fc-popover .card-body{padding:0}.fc-bootstrap .fc-time-grid .fc-slats table{background:0 0} -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/core/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Core Package 3 | 4 | Provides core functionality, including the Calendar class 5 | 6 | [View the docs »](https://fullcalendar.io/docs/initialize-es6) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/core/locales/en-au.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 3 | typeof define === 'function' && define.amd ? define(factory) : 4 | (global = global || self, (global.FullCalendarLocales = global.FullCalendarLocales || {}, global.FullCalendarLocales['en-au'] = factory())); 5 | }(this, function () { 'use strict'; 6 | 7 | var enAu = { 8 | code: "en-au", 9 | week: { 10 | dow: 1, 11 | doy: 4 // The week that contains Jan 4th is the first week of the year. 12 | } 13 | }; 14 | 15 | return enAu; 16 | 17 | })); 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/core/locales/en-gb.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 3 | typeof define === 'function' && define.amd ? define(factory) : 4 | (global = global || self, (global.FullCalendarLocales = global.FullCalendarLocales || {}, global.FullCalendarLocales['en-gb'] = factory())); 5 | }(this, function () { 'use strict'; 6 | 7 | var enGb = { 8 | code: "en-gb", 9 | week: { 10 | dow: 1, 11 | doy: 4 // The week that contains Jan 4th is the first week of the year. 12 | } 13 | }; 14 | 15 | return enGb; 16 | 17 | })); 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/core/locales/en-nz.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 3 | typeof define === 'function' && define.amd ? define(factory) : 4 | (global = global || self, (global.FullCalendarLocales = global.FullCalendarLocales || {}, global.FullCalendarLocales['en-nz'] = factory())); 5 | }(this, function () { 'use strict'; 6 | 7 | var enNz = { 8 | code: "en-nz", 9 | week: { 10 | dow: 1, 11 | doy: 4 // The week that contains Jan 4th is the first week of the year. 12 | } 13 | }; 14 | 15 | return enNz; 16 | 17 | })); 18 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/daygrid/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Day Grid Plugin 3 | 4 | Display events on Month view or DayGrid view 5 | 6 | [View the docs »](https://fullcalendar.io/docs/month-view) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/google-calendar/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Google Calendar Plugin 3 | 4 | Fetch events from a public Google Calendar feed 5 | 6 | [View the docs »](https://fullcalendar.io/docs/google-calendar) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/google-calendar/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // main.d.ts 4 | 5 | declare module '@fullcalendar/google-calendar' { 6 | module '@fullcalendar/core' { 7 | interface OptionsInput { 8 | googleCalendarApiKey?: string; 9 | } 10 | } 11 | module '@fullcalendar/core/structs/event-source' { 12 | interface ExtendedEventSourceInput { 13 | googleCalendarApiKey?: string; 14 | googleCalendarId?: string; 15 | } 16 | } 17 | const _default: import("@fullcalendar/core").PluginDef; 18 | export default _default; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/interaction/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Interaction Plugin 3 | 4 | Provides functionality for event drag-n-drop, resizing, dateClick, and selectable actions 5 | 6 | [View the docs »](https://fullcalendar.io/docs/editable) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/list/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar List View Plugin 3 | 4 | View your events as a bulleted list 5 | 6 | [View the docs »](https://fullcalendar.io/docs/list-view) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/luxon/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Luxon Plugin 3 | 4 | A connector to the Luxon date library 5 | 6 | [View the docs »](https://fullcalendar.io/docs/luxon-plugin) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/luxon/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // ../../../../../luxon 4 | // ../../../../../@fullcalendar/core 5 | 6 | declare module '@fullcalendar/luxon' { 7 | import { DateTime as LuxonDateTime, Duration as LuxonDuration } from 'luxon'; 8 | import { Calendar, Duration } from '@fullcalendar/core'; 9 | export function toDateTime(date: Date, calendar: Calendar): LuxonDateTime; 10 | export function toDuration(duration: Duration, calendar: Calendar): LuxonDuration; 11 | const _default: import("@fullcalendar/core").PluginDef; 12 | export default _default; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/moment-timezone/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Moment Timezone Plugin 3 | 4 | A connector to the moment-timezone library 5 | 6 | [View the docs »](https://fullcalendar.io/docs/moment-plugins#moment-timezone) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/moment-timezone/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // ../../../../../moment-timezone/builds/moment-timezone-with-data 4 | // ../../../../../@fullcalendar/core 5 | 6 | declare module '@fullcalendar/moment-timezone' { 7 | import 'moment-timezone/builds/moment-timezone-with-data'; 8 | const _default: import("@fullcalendar/core").PluginDef; 9 | export default _default; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/moment/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Moment Plugin 3 | 4 | A connector to the MomentJS date library 5 | 6 | [View the docs »](https://fullcalendar.io/docs/moment-plugins) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/moment/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // ../../../../../moment 4 | // ../../../../../@fullcalendar/core 5 | 6 | declare module '@fullcalendar/moment' { 7 | import * as momentNs from 'moment'; 8 | import { Calendar, Duration } from '@fullcalendar/core'; 9 | export function toMoment(date: Date, calendar: Calendar): momentNs.Moment; 10 | export function toDuration(fcDuration: Duration): momentNs.Duration; 11 | const _default: import("@fullcalendar/core").PluginDef; 12 | export default _default; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/rrule/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar RRule Plugin 3 | 4 | A connector to the RRule library, for recurring events 5 | 6 | [View the docs »](https://fullcalendar.io/docs/rrule-plugin) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/rrule/main.d.ts: -------------------------------------------------------------------------------- 1 | // Generated by dts-bundle v0.7.3-fork.1 2 | // Dependencies for this module: 3 | // ../../../../../@fullcalendar/core 4 | 5 | declare module '@fullcalendar/rrule' { 6 | const _default: import("@fullcalendar/core").PluginDef; 7 | export default _default; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/fullcalendar/timegrid/README.md: -------------------------------------------------------------------------------- 1 | 2 | # FullCalendar Time Grid Plugin 3 | 4 | Display your events on a grid of time slots 5 | 6 | [View the docs »](https://fullcalendar.io/docs/timegrid-view) 7 | 8 | This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar) 9 | -------------------------------------------------------------------------------- /src/OnceMi.IdentityServer4/wwwroot/lib/light/js/jquery-treegrid/jquery.treegrid.min.css: -------------------------------------------------------------------------------- 1 | .treegrid-indent{width:16px;height:16px;display:inline-block;position:relative}.treegrid-expander{width:16px;height:16px;display:inline-block;position:relative;cursor:pointer} --------------------------------------------------------------------------------