1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-25 21:34:52 -05:00

PM-20532 - Add new Send client type to BitwardenClient.cs and IdentityClientType.cs along with adding new scope and claim.

This commit is contained in:
Jared Snider 2025-05-15 22:19:32 -04:00
parent 7e5c4b3922
commit 190624d955
No known key found for this signature in database
GPG Key ID: A149DDD612516286
4 changed files with 8 additions and 1 deletions

View File

@ -8,5 +8,6 @@ public static class BitwardenClient
Desktop = "desktop",
Mobile = "mobile",
Cli = "cli",
DirectoryConnector = "connector";
DirectoryConnector = "connector",
Send = "send";
}

View File

@ -39,4 +39,7 @@ public static class Claims
public const string ManageResetPassword = "manageresetpassword";
public const string ManageScim = "managescim";
}
// Send
public const string SendId = "send_id";
}

View File

@ -5,4 +5,5 @@ public enum IdentityClientType : byte
User = 0,
Organization = 1,
ServiceAccount = 2,
Send = 3,
}

View File

@ -11,6 +11,7 @@ public static class ApiScopes
public const string ApiPush = "api.push";
public const string ApiSecrets = "api.secrets";
public const string Internal = "internal";
public const string Send = "api.send";
public static IEnumerable<ApiScope> GetApiScopes()
{
@ -23,6 +24,7 @@ public static class ApiScopes
new(ApiInstallation, "API Installation Access"),
new(Internal, "Internal Access"),
new(ApiSecrets, "Secrets Manager Access"),
new(Send, "Send Access"),
};
}
}