コード例 #1
0
        public TokenValidatorService(IUserStore <User> usersStoreService, ITokenStoreService tokenStoreService, ILastLoggedIn lastLoggedIn)
        {
            _usersStoreService = usersStoreService;
            _usersStoreService.CheckArgumentIsNull(nameof(usersStoreService));

            _tokenStoreService = tokenStoreService;
            _lastLoggedIn      = lastLoggedIn;
            _tokenStoreService.CheckArgumentIsNull(nameof(_tokenStoreService));
        }