refreshtokenserviceerrors

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedCreateAccess = response.NewErrorResponse("Failed to create access token", http.StatusInternalServerError)

ErrFailedCreateAccess is returned when the creation of an access token fails.

View Source
var ErrFailedCreateRefresh = response.NewErrorResponse("Failed to create refresh token", http.StatusInternalServerError)

ErrFailedCreateRefresh is returned when the creation of a refresh token fails.

View Source
var ErrFailedCreateRefreshToken = response.NewErrorResponse("Failed to create refresh token", http.StatusInternalServerError)

ErrFailedCreateRefreshToken is returned when refresh token creation fails.

View Source
var ErrFailedDeleteByUserID = response.NewErrorResponse("Failed to delete refresh token by user ID", http.StatusInternalServerError)

ErrFailedDeleteByUserID is returned when deletion of a refresh token by user ID fails.

View Source
var ErrFailedDeleteRefreshToken = response.NewErrorResponse("Failed to delete refresh token", http.StatusInternalServerError)

ErrFailedDeleteRefreshToken is returned when refresh token deletion fails.

View Source
var ErrFailedExpire = response.NewErrorResponse("Failed to find refresh token by token", http.StatusInternalServerError)

ErrFailedExpire occurs when expiring a refresh token fails.

View Source
var ErrFailedFindByToken = response.NewErrorResponse("Failed to find refresh token by token", http.StatusInternalServerError)

ErrFailedFindByToken indicates failure when searching for a refresh token by its token value.

View Source
var ErrFailedFindByUserID = response.NewErrorResponse("Failed to find refresh token by user ID", http.StatusInternalServerError)

ErrFailedFindByUserID indicates failure when searching for a refresh token by user ID.

View Source
var ErrFailedInvalidToken = response.NewErrorResponse("Failed to invalid access token", http.StatusInternalServerError)

ErrFailedInValidToken is returned when an access token is invalid.

View Source
var ErrFailedInvalidUserId = response.NewErrorResponse("Failed to invalid user id", http.StatusInternalServerError)

ErrFailedInValidUserId is returned when a user ID is invalid.

View Source
var ErrFailedParseExpirationDate = response.NewErrorResponse("Failed to parse expiration date", http.StatusBadRequest)

ErrFailedParseExpirationDate indicates failure when parsing the expiration date of a token.

View Source
var ErrFailedUpdateRefreshToken = response.NewErrorResponse("Failed to update refresh token", http.StatusInternalServerError)

ErrFailedUpdateRefreshToken is returned when refresh token update fails.

View Source
var ErrRefreshTokenNotFound = response.NewErrorResponse("Refresh token not found", http.StatusNotFound)

ErrRefreshTokenNotFound indicates that the refresh token was not found.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL