コード例 #1
0
 public AuthController(
     IOptionsSnapshot <JwtOptions> jwtConfiguration,
     IGetUserByAccountQuery getUserByAccountQuery,
     IGetInfoFromTokenQuery getInfoFromTokenQuery,
     IChangePasswordCommand changePasswordCommand,
     IForgotPasswordCommand forgotPasswordCommand)
 {
     _jwtConfiguration      = jwtConfiguration;
     _getUserByAccountQuery = getUserByAccountQuery;
     _getInfoFromTokenQuery = getInfoFromTokenQuery;
     _changePasswordCommand = changePasswordCommand;
     _forgotPasswordCommand = forgotPasswordCommand;
 }
コード例 #2
0
 public AccountController(
     IOptionsSnapshot <JwtOptions> jwtConfiguration,
     ISaveCustomerCommand saveCustomerCommand,
     IGetUserByAccountQuery getUserByAccountQuery,
     IChangePasswordCommand changePasswordCommand,
     IGetCustomerInfoFromAccessTokenQuery getCustomerInfoFromAccessTokenQuery,
     IGetCustomerByAccountQuery getCustomerByAccountQuery)
 {
     _jwtConfiguration      = jwtConfiguration;
     _saveCustomerCommand   = saveCustomerCommand;
     _getUserByAccountQuery = getUserByAccountQuery;
     _changePasswordCommand = changePasswordCommand;
     _getCustomerInfoFromAccessTokenQuery = getCustomerInfoFromAccessTokenQuery;
     _getCustomerByAccountQuery           = getCustomerByAccountQuery;
 }