mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 00:53:20 +08:00
17 lines
602 B
C#
17 lines
602 B
C#
// FIXME: Update this file to be null safe and then delete the line below
|
|
#nullable disable
|
|
|
|
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();
|
|
}
|