Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a console command for removing expired tokens #53

Merged
merged 1 commit into from
May 23, 2019

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented May 19, 2019

Closes #4

@HypeMC HypeMC requested a review from X-Coder264 May 19, 2019 17:12
@HypeMC HypeMC force-pushed the clear-expired-tokens-command branch from b157d0c to c0bab82 Compare May 19, 2019 17:30
@codecov-io
Copy link

codecov-io commented May 19, 2019

Codecov Report

Merging #53 into master will increase coverage by 0.63%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #53      +/-   ##
============================================
+ Coverage     89.95%   90.59%   +0.63%     
- Complexity      267      280      +13     
============================================
  Files            42       43       +1     
  Lines           916      978      +62     
============================================
+ Hits            824      886      +62     
  Misses           92       92
Impacted Files Coverage Δ Complexity Δ
Command/ClearExpiredTokensCommand.php 100% <100%> (ø) 9 <9> (?)
Manager/Doctrine/AccessTokenManager.php 100% <100%> (ø) 5 <1> (+1) ⬆️
Manager/InMemory/AccessTokenManager.php 100% <100%> (ø) 4 <1> (+1) ⬆️
Manager/Doctrine/RefreshTokenManager.php 100% <100%> (ø) 5 <1> (+1) ⬆️
Manager/InMemory/RefreshTokenManager.php 100% <100%> (ø) 4 <1> (+1) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update baffa92...d8ed8de. Read the comment docs.

@HypeMC HypeMC force-pushed the clear-expired-tokens-command branch from c0bab82 to 7806eda Compare May 19, 2019 18:39
Command/ClearExpiredTokensCommand.php Outdated Show resolved Hide resolved
Manager/Doctrine/AccessTokenManager.php Outdated Show resolved Hide resolved
Tests/Unit/InMemoryAccessTokenManagerTest.php Show resolved Hide resolved
docs/basic-setup.md Outdated Show resolved Hide resolved
@HypeMC HypeMC force-pushed the clear-expired-tokens-command branch from 7806eda to d8ed8de Compare May 22, 2019 22:23
@X-Coder264 X-Coder264 merged commit de3e338 into master May 23, 2019
@X-Coder264 X-Coder264 deleted the clear-expired-tokens-command branch May 23, 2019 11:40
@X-Coder264 X-Coder264 mentioned this pull request Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add console commands for stale token cleanup
3 participants