Beispiel #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">授权服务</param>
 /// <param name="accountService">用户服务</param>
 public ClientAuthorizationServerProvider(IClientAuthorizationService clientAuthorizationService, IAccountService accountService)
 {
     _clientAuthorizationService = clientAuthorizationService;
     _accountService             = accountService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">Password Grant 授权服务</param>
 public RefreshAuthenticationTokenProvider(IClientAuthorizationService clientAuthorizationService)
 {
     _clientAuthorizationService = clientAuthorizationService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">Password Grant 授权服务</param>
 /// <param name="accountService">用户服务</param>
 public PasswordAuthorizationServerProvider(IClientAuthorizationService clientAuthorizationService, IAccountService accountService)
 {
     _clientAuthorizationService = clientAuthorizationService;
     _accountService = accountService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">授权服务</param>
 public AccessTokenAuthorizationServerProvider(IClientAuthorizationService clientAuthorizationService)
 {
     _clientAuthorizationService = clientAuthorizationService;
 }
Beispiel #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">Password Grant 授权服务</param>
 public RefreshAuthenticationTokenProvider(IClientAuthorizationService clientAuthorizationService)
 {
     _clientAuthorizationService = clientAuthorizationService;
 }
 public InternetBankAuthorizationController(ApiServices services, IUnitOfWork unitOfWork, IClientAuthorizationService clientAuthorizationService)
     : base(services, unitOfWork)
 {
     Requires.NotNull(clientAuthorizationService, "clientAuthorizationService");
     _clientAuthorizationService = clientAuthorizationService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="clientAuthorizationService">授权服务</param>
 public AccessTokenAuthorizationServerProvider(IClientAuthorizationService clientAuthorizationService)
 {
     _clientAuthorizationService = clientAuthorizationService;
 }