1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

Add hash password

This commit is contained in:
Hinton
2025-07-28 18:40:54 +02:00
parent 418dbb374c
commit 072f9f2278
5 changed files with 182 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
namespace Bit.RustSDK;
/// <summary>
/// Factory for creating Rust SDK service instances
/// </summary>
public static class RustSdkServiceFactory
{
/// <summary>
/// Creates a new instance of the Rust SDK service
/// </summary>
/// <returns>A new IRustSdkService instance</returns>
public static RustSdkService Create()
{
return new RustSdkService();
}
/// <summary>
/// Creates a singleton instance of the Rust SDK service (thread-safe)
/// </summary>
/// <returns>A singleton IRustSdkService instance</returns>
public static RustSdkService CreateSingleton()
{
return SingletonHolder.Instance;
}
private static class SingletonHolder
{
internal static readonly RustSdkService Instance = new RustSdkService();
}
}