mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-19 13:41:24 +08:00
15 lines
461 B
C#
15 lines
461 B
C#
using System;
|
|
using Util.Sessions;
|
|
|
|
namespace Util.FileStorage.Minio.Samples;
|
|
|
|
/// <summary>
|
|
/// 测试用户会话
|
|
/// </summary>
|
|
public class TestSession : ISession {
|
|
public IServiceProvider ServiceProvider => null;
|
|
public static Guid TestUserId = new ( "2af5e99e-391c-451b-9112-f7a3eb9b0a55" );
|
|
public bool IsAuthenticated => true;
|
|
public string UserId => TestUserId.ToString();
|
|
public string TenantId => string.Empty;
|
|
} |