mirror of
https://github.com/bitwarden/server.git
synced 2025-07-18 16:11:28 -05:00
[SM-705] Extract Authorization from Access Token Commands (#2928)
* refactor authorization for access token commands * Unit tests for authorization handler
This commit is contained in:
@ -4,5 +4,5 @@ namespace Bit.Core.SecretsManager.Commands.AccessTokens.Interfaces;
|
||||
|
||||
public interface ICreateAccessTokenCommand
|
||||
{
|
||||
Task<ApiKey> CreateAsync(ApiKey apiKey, Guid userId);
|
||||
Task<ApiKey> CreateAsync(ApiKey apiKey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user