mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 15:36:50 +08:00
feat: add DeleteQRCode,fix GetQRCodeTimeout
This commit is contained in:
@@ -75,6 +75,7 @@ type IEnforcer interface {
|
||||
GetQRCode(QRCodeId string) *model.QRCode
|
||||
GetQRCodeState(QRCodeId string) model.QRCodeState
|
||||
GetQRCodeTimeout(QRCodeId string) int64
|
||||
DeleteQRCode(QRCodeId string) error
|
||||
Scanned(QRCodeId string, loginId string) (string, error)
|
||||
ConfirmAuth(QRCodeTempToken string) error
|
||||
CancelAuth(QRCodeTempToken string) error
|
||||
|
Reference in New Issue
Block a user