Documentation ¶
Index ¶
Constants ¶
View Source
const ( WebTokenField_UserId = "userId" WebTokenField_SessionId = "sessionId" TokenHeader_Alg = "alg" TokenAlg_PS512 = "PS512" // RSA-PSS. TokenAlg_RS512 = "RS512" // RSA. )
View Source
const ( ErrSigningMethodIsNotSupported = "signing method is not supported" ErrTokenIsNotValid = "token is not valid" ErrTokenIsBroken = "token is broken" ErrFUnsupportedSigningMethod = "unsupported signing method: %s" ErrFUnexpectedSigningMethod = "unexpected signing method: %v" ErrTypeCast = "type cast error" )
View Source
const (
ErrRsaPssGoLanguageWhatAShame = "this stupid Go language does not support parsing RSA-PSS keys, what a shame"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.