Documentation ¶
Index ¶
- func ExpectErrorMessage(resp *http.Response, expectedMsg string)
- func GenerateInvalidJwt(jwtSecret string) string
- func GenerateJwt(jwtSecret string, expiresIn time.Duration) string
- func GenerateJwtWithInvalidSigningMethod(jwtSecret string, expiresIn time.Duration) string
- func GenerateJwtWithName(jwtSecret string, expiresIn time.Duration, name string) string
- func GenerateRsaPrivateKey() *rsa.PrivateKey
- func SendGetRequest(url string, headers map[string]string) *http.Response
- type Jwt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectErrorMessage ¶
func GenerateInvalidJwt ¶
func GenerateJwtWithName ¶
func GenerateRsaPrivateKey ¶
func GenerateRsaPrivateKey() *rsa.PrivateKey
Types ¶
Click to show internal directories.
Click to hide internal directories.