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:
parent
7e5c4b3922
commit
190624d955
@ -8,5 +8,6 @@ public static class BitwardenClient
|
||||
Desktop = "desktop",
|
||||
Mobile = "mobile",
|
||||
Cli = "cli",
|
||||
DirectoryConnector = "connector";
|
||||
DirectoryConnector = "connector",
|
||||
Send = "send";
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -5,4 +5,5 @@ public enum IdentityClientType : byte
|
||||
User = 0,
|
||||
Organization = 1,
|
||||
ServiceAccount = 2,
|
||||
Send = 3,
|
||||
}
|
||||
|
@ -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"),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user