mirror of
https://github.com/bitwarden/server.git
synced 2025-05-25 05:21:03 -05:00
Formatting
This commit is contained in:
parent
7002e6138d
commit
1a15e7a51d
@ -1,4 +1,4 @@
|
||||
using Bit.Core.IdentityServer;
|
||||
using Bit.Core.IdentityServer;
|
||||
using Bit.Core.Platform.Installations;
|
||||
using Duende.IdentityModel;
|
||||
using Duende.IdentityServer.Models;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
|
||||
using System.Diagnostics;
|
||||
using Bit.Core.IdentityServer;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Identity;
|
||||
using Bit.Core.IdentityServer;
|
||||
using Bit.Core.Repositories;
|
||||
@ -44,7 +44,7 @@ internal class OrganizationClientProvider : IClientProvider
|
||||
ClientId = $"organization.{organization.Id}",
|
||||
RequireClientSecret = true,
|
||||
ClientSecrets = [new Secret(orgApiKey.ApiKey.Sha256())],
|
||||
AllowedScopes = [ ApiScopes.ApiOrganization ],
|
||||
AllowedScopes = [ApiScopes.ApiOrganization],
|
||||
AllowedGrantTypes = GrantTypes.ClientCredentials,
|
||||
AccessTokenLifetime = 3600 * 1,
|
||||
Enabled = organization.Enabled && organization.UseApi,
|
||||
|
@ -1,4 +1,4 @@
|
||||
using Bit.Core.Identity;
|
||||
using Bit.Core.Identity;
|
||||
using Bit.Core.Repositories;
|
||||
using Bit.Core.SecretsManager.Models.Data;
|
||||
using Bit.Core.SecretsManager.Repositories;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Security.Claims;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
|
||||
using Duende.IdentityServer.Models;
|
||||
using Duende.IdentityServer.Stores;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using Bit.Identity.IdentityServer;
|
||||
using Bit.Identity.IdentityServer;
|
||||
|
||||
namespace Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
|
@ -9,7 +9,6 @@ using Bit.Core.Enums;
|
||||
using Bit.Core.Platform.Installations;
|
||||
using Bit.Core.Repositories;
|
||||
using Bit.Core.Test.Auth.AutoFixture;
|
||||
using Bit.Identity.IdentityServer;
|
||||
using Bit.IntegrationTestCommon.Factories;
|
||||
using Bit.Test.Common.AutoFixture.Attributes;
|
||||
using Bit.Test.Common.Helpers;
|
||||
|
Loading…
x
Reference in New Issue
Block a user