mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove unused function TryRotateToken (#85836)
* Chore: Remove unused function * remove unused function
This commit is contained in:
@@ -71,7 +71,6 @@ type UserTokenService interface {
|
||||
LookupToken(ctx context.Context, unhashedToken string) (*UserToken, error)
|
||||
// RotateToken will always rotate a valid token
|
||||
RotateToken(ctx context.Context, cmd RotateCommand) (*UserToken, error)
|
||||
TryRotateToken(ctx context.Context, token *UserToken, clientIP net.IP, userAgent string) (bool, *UserToken, error)
|
||||
RevokeToken(ctx context.Context, token *UserToken, soft bool) error
|
||||
RevokeAllUserTokens(ctx context.Context, userID int64) error
|
||||
GetUserToken(ctx context.Context, userID, userTokenID int64) (*UserToken, error)
|
||||
|
||||
Reference in New Issue
Block a user