Chore: Remove unused function TryRotateToken (#85836)

* Chore: Remove unused function

* remove unused function
This commit is contained in:
Karl Persson
2024-04-10 11:15:43 +02:00
committed by GitHub
parent f484519784
commit fd870702c7
4 changed files with 24 additions and 236 deletions
-5
View File
@@ -84,11 +84,6 @@ func (s *FakeUserAuthTokenService) LookupToken(ctx context.Context, unhashedToke
return s.LookupTokenProvider(context.Background(), unhashedToken)
}
func (s *FakeUserAuthTokenService) TryRotateToken(ctx context.Context, token *auth.UserToken, clientIP net.IP,
userAgent string) (bool, *auth.UserToken, error) {
return s.TryRotateTokenProvider(context.Background(), token, clientIP, userAgent)
}
func (s *FakeUserAuthTokenService) RevokeToken(ctx context.Context, token *auth.UserToken, soft bool) error {
return s.RevokeTokenProvider(context.Background(), token, soft)
}