Add access token check to auth
This commit is contained in:
parent
8f53e8a967
commit
6a2b213787
4 changed files with 34 additions and 7 deletions
|
@ -26,6 +26,10 @@ var (
|
|||
ErrInvalidPasskeyRegistrationData = errors.New(
|
||||
"stored passkey registration data was formatted badly",
|
||||
)
|
||||
// The given token has expired
|
||||
ErrTokenExpired = errors.New("token expired")
|
||||
// The given token doesn't exist
|
||||
ErrTokenNotFound = errors.New("token not found")
|
||||
)
|
||||
|
||||
// Helper error type to combine two errors into one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue