2025-07-08 10:25:41 -04:00
|
|
|
|
// FIXME: Update this file to be null safe and then delete the line below
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
|
|
using Bit.Core.Auth.Entities;
|
2023-11-20 15:55:31 +01:00
|
|
|
|
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();
|
|
|
|
|
|
}
|