Documentation ¶
Index ¶
Constants ¶
View Source
const ( UntrustedJwtTokenErrorCode = 2001 InvalidJwtTokenErrorCode = 2002 )
Error codes
Variables ¶
This section is empty.
Functions ¶
func InvalidJwtTokenError ¶
func InvalidJwtTokenError() error
InvalidJwtTokenError returns an error when service can't parse token or token is expired and etc.
func UnexpectedError ¶
UnexpectedError returns an error for unexpected situations
func UnexpectedErrorf ¶
UnexpectedErrorf returns an error for unexpected situations with format
func UntrustedJwtTokenError ¶
func UntrustedJwtTokenError() error
UntrustedJwtTokenError returns an error when service can't verify received token
Types ¶
Click to show internal directories.
Click to hide internal directories.