コード例 #1
0
 public HttpSecurityTokenLoginHandler(ISecurityConfiguration configuration, IApiCommandAsync apiCommand, ILoginUserPasswordAsync userLoginCommand, ITokenUsernameRequestBuilder requestBuilder, ITokenValidator validator)
     : base(configuration, apiCommand, validator)
 {
     _userLoginCommand = userLoginCommand ?? throw new ArgumentNullException(nameof(userLoginCommand));
     _requestBuilder   = requestBuilder ?? throw new ArgumentNullException(nameof(requestBuilder));
 }
コード例 #2
0
 public HttpSecurityTokenRefreshHandler(ISecurityConfiguration configuration, IApiCommandAsync apiCommand, ITokenRefreshRequestBuilder requestBuilder, ITokenValidator validator)
     : base(configuration, apiCommand, validator)
 {
     _requestBuilder = requestBuilder ?? throw new ArgumentNullException(nameof(requestBuilder));
 }
コード例 #3
0
 public HttpSecurityTokenHandler(ISecurityConfiguration configuration, IApiCommandAsync apiCommand, ITokenValidator validator) : base(configuration, validator)
 {
     _apiCommand = apiCommand ?? throw new ArgumentNullException(nameof(apiCommand));
 }