mirror of
https://github.com/bitwarden/server.git
synced 2026-02-07 01:16:22 +08:00
14 lines
509 B
C#
14 lines
509 B
C#
|
|
using Bit.Core.Auth.Entities;
|
|||
|
|
using Bit.Core.Auth.Models.Api.Response;
|
|||
|
|
using Bit.Core.Entities;
|
|||
|
|
|
|||
|
|
namespace Bit.Identity.IdentityServer;
|
|||
|
|
public interface IUserDecryptionOptionsBuilder
|
|||
|
|
{
|
|||
|
|
IUserDecryptionOptionsBuilder ForUser(User user);
|
|||
|
|
IUserDecryptionOptionsBuilder WithDevice(Device device);
|
|||
|
|
IUserDecryptionOptionsBuilder WithSso(SsoConfig ssoConfig);
|
|||
|
|
IUserDecryptionOptionsBuilder WithWebAuthnLoginCredential(WebAuthnCredential credential);
|
|||
|
|
Task<UserDecryptionOptions> BuildAsync();
|
|||
|
|
}
|