Documentation
¶
Index ¶
- func CreateTestServer(t *testing.T, jsonJWKKeySetSingle []byte, jsonJWKKeySetMultiple []byte, ...) *httptest.Server
- func GenerateTestJWT(key jwk.Key, scope string, isExpired bool) (string, error)
- func GenerateTestKeysAndKeySets() (jwk.Key, jwk.Key, []byte, []byte)
- func IsExcluded(excludedPaths []string, requestPath string) bool
- func JWTHandler(next http.Handler) http.Handler
- func ValidateJWT(w http.ResponseWriter, r *http.Request, keySet jwk.Set, jwtConfig *config.Jwt) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestServer ¶
func GenerateTestJWT ¶
func IsExcluded ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.