public UserAccessTokenService( IOptions <OrleansAuthOptions> _options, ILogger <UserAccessTokenService> _logger, IServiceProvider _serviceProvider) { this.options = _options?.Value; this.logger = _logger; this.serviceProvider = _serviceProvider; }
/// <summary> /// 客户端访问令牌 /// </summary> /// <param name="_options"></param> /// <param name="_logger"></param> public ClientAccessTokenService(IOptions <OrleansAuthOptions> _options, ILogger <ClientAccessTokenService> _logger) { this.options = _options?.Value; this.logger = _logger; }
public OrleansClient(IServiceProvider serviceProvider, IOptions <OrleansAuthOptions> options, ILogger <OrleansClient> logger) { this.Logger = logger; this.ServiceProvider = serviceProvider; this.Options = options?.Value; }