Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/auth0/go-jwt-middleware
/ functions
Functions
744 in github.com/auth0/go-jwt-middleware
⨍
Functions
744
◇
Types & classes
102
Function
TestSetAndGetAuthScheme
TestSetAndGetAuthScheme tests the auth scheme storage and retrieval
core/context_test.go:97
Function
TestSetAndGetClaims
TestSetAndGetClaims tests the claims storage and retrieval from context
core/context_test.go:12
Function
TestSetAndGetDPoPContext
TestSetAndGetDPoPContext tests the DPoP context storage and retrieval
core/context_test.go:58
Function
TestSetAndGetDPoPMode
TestSetAndGetDPoPMode tests the DPoP mode storage and retrieval
core/context_test.go:145
Function
TestSetIssuerInContext
(t *testing.T)
validator/validator_test.go:857
Function
TestStandardProxyConfiguration
(t *testing.T)
examples/http-dpop-trusted-proxy/main_integration_test.go:54
Function
TestStreamServerInterceptor_ExcludedMethods
(t *testing.T)
integrations/grpc/interceptor_test.go:459
Function
TestStreamServerInterceptor_ExcludedMethodsWithLogger
(t *testing.T)
integrations/grpc/interceptor_test.go:757
Function
TestStreamServerInterceptor_MissingToken
(t *testing.T)
integrations/grpc/interceptor_test.go:418
Function
TestStreamServerInterceptor_OptionalCredentials
(t *testing.T)
integrations/grpc/interceptor_test.go:438
Function
TestStreamServerInterceptor_Success
(t *testing.T)
integrations/grpc/interceptor_test.go:392
Function
TestStringToJWXAlgorithm
(t *testing.T)
validator/validator_test.go:543
Function
TestTrustedProxyConfigHasAnyTrustedHeaders
(t *testing.T)
proxy_test.go:341
Function
TestUnaryServerInterceptor_ExcludedMethods
(t *testing.T)
integrations/grpc/interceptor_test.go:239
Function
TestUnaryServerInterceptor_ExclusionHandler
(t *testing.T)
integrations/grpc/interceptor_test.go:260
Function
TestUnaryServerInterceptor_ExclusionHandler_CombinedWithExcludedMethods
(t *testing.T)
integrations/grpc/interceptor_test.go:286
Function
TestUnaryServerInterceptor_InvalidFormat
(t *testing.T)
integrations/grpc/interceptor_test.go:147
Function
TestUnaryServerInterceptor_InvalidToken
(t *testing.T)
integrations/grpc/interceptor_test.go:124
Function
TestUnaryServerInterceptor_JWKSErrorWithProperCode
(t *testing.T)
integrations/grpc/interceptor_test.go:357
Function
TestUnaryServerInterceptor_MissingToken
(t *testing.T)
integrations/grpc/interceptor_test.go:103
Function
TestUnaryServerInterceptor_MultipleAuthHeaders
(t *testing.T)
integrations/grpc/interceptor_test.go:169
Function
TestUnaryServerInterceptor_OptionalCredentials_NoToken
(t *testing.T)
integrations/grpc/interceptor_test.go:194
Function
TestUnaryServerInterceptor_OptionalCredentials_WithToken
(t *testing.T)
integrations/grpc/interceptor_test.go:215
Function
TestUnaryServerInterceptor_Success
(t *testing.T)
integrations/grpc/interceptor_test.go:82
Function
TestUnaryServerInterceptor_ValidatorError
(t *testing.T)
integrations/grpc/interceptor_test.go:321
Function
TestValidateAudience
(t *testing.T)
validator/validator_test.go:614
Function
TestValidateIssuer
(t *testing.T)
validator/validator_test.go:589
Function
TestValidateIssuerWithResolver
(t *testing.T)
validator/validator_test.go:979
Function
TestValidateToken_DPoPHeaderExtractorError
TestValidateToken_DPoPHeaderExtractorError tests error path in validateToken
middleware_test.go:361
Function
TestValidateToken_DPoPSchemeWithoutProof
TestValidateToken_DPoPSchemeWithoutProof tests the security check for DPoP scheme without proof
middleware_test.go:917
Function
TestValidateToken_EdgeCases
(t *testing.T)
validator/validator_test.go:1277
Function
TestValidateToken_WithIssuersResolver
(t *testing.T)
validator/validator_test.go:1041
Function
TestValidateToken_WithRegisteredClaimsValidator
(t *testing.T)
validator/validator_test.go:1444
Function
TestValidatedClaims_DPoPMethods
(t *testing.T)
validator/claims_test.go:9
Function
TestValidationError
(t *testing.T)
core/core_test.go:348
Function
TestValidator_IssuerValidationInValidateToken
(t *testing.T)
validator/validator_test.go:741
Function
TestValidator_ValidateToken
(t *testing.T)
validator/validator_test.go:27
Function
TestWithAlgorithms
(t *testing.T)
validator/validator_test.go:1163
Function
TestWithDPoPHeaderExtractor
(t *testing.T)
option_test.go:831
Function
TestWithDPoPHeaderExtractor_NilExtractor
TestWithDPoPHeaderExtractor_NilExtractor tests nil extractor validation
option_test.go:809
Function
TestWithDPoPIATLeeway
(t *testing.T)
option_test.go:924
Function
TestWithDPoPIATLeeway
(t *testing.T)
core/dpop_test.go:695
Function
TestWithDPoPIATLeeway_Negative
(t *testing.T)
core/dpop_test.go:707
Function
TestWithDPoPMode
(t *testing.T)
option_test.go:846
Function
TestWithDPoPMode
Test DPoP configuration options
core/dpop_test.go:659
Function
TestWithDPoPProofOffset
(t *testing.T)
option_test.go:879
Function
TestWithDPoPProofOffset
(t *testing.T)
core/dpop_test.go:671
Function
TestWithDPoPProofOffset_Negative
(t *testing.T)
core/dpop_test.go:683
Function
TestWithIssuerKeyConfig
TestWithIssuerKeyConfig tests the symmetric issuer key configuration option.
jwks/multi_issuer_provider_test.go:592
Function
TestWithIssuerKeyConfigs
(t *testing.T)
jwks/multi_issuer_provider_test.go:684
Function
TestWithIssuer_MutualExclusivity
(t *testing.T)
validator/validator_test.go:939
Function
TestWithIssuersResolver
(t *testing.T)
validator/validator_test.go:870
Function
TestWithIssuers_MutualExclusivity
(t *testing.T)
validator/validator_test.go:959
Function
TestWithLogger
(t *testing.T)
integrations/grpc/interceptor_test.go:624
Function
TestWithLogger_ExcludedMethod
(t *testing.T)
integrations/grpc/interceptor_test.go:649
Function
TestWithLogger_OptionalCredentialsNoToken
(t *testing.T)
integrations/grpc/interceptor_test.go:730
Function
TestWithLogger_TokenExtractionFailure
(t *testing.T)
integrations/grpc/interceptor_test.go:676
Function
TestWithLogger_ValidationFailure
(t *testing.T)
integrations/grpc/interceptor_test.go:703
Function
TestWithRegisteredClaimsValidator
(t *testing.T)
validator/validator_test.go:1406
Function
TestWithValidator_NilValidator
TestWithValidator_NilValidator tests nil validator validation
option_test.go:822
Function
Test_AuthHeaderTokenExtractor
(t *testing.T)
extractor_test.go:14
Function
Test_CheckJWT
(t *testing.T)
middleware_test.go:21
Function
Test_CookieTokenExtractor
(t *testing.T)
extractor_test.go:177
Function
Test_GetClaims
(t *testing.T)
option_test.go:532
Function
Test_HasClaims
(t *testing.T)
option_test.go:661
Function
Test_JWKSProvider
(t *testing.T)
jwks/provider_test.go:25
Function
Test_MultiTokenExtractor
(t *testing.T)
extractor_test.go:243
Function
Test_MustGetClaims
(t *testing.T)
option_test.go:614
Function
Test_New_Defaults
(t *testing.T)
option_test.go:153
Function
Test_New_OptionsValidation
(t *testing.T)
option_test.go:38
Function
Test_ParameterTokenExtractor
(t *testing.T)
extractor_test.go:133
Function
Test_SentinelErrors
(t *testing.T)
option_test.go:710
Function
Test_ValidateDPoPProof_DifferentAlgorithms
Test_ValidateDPoPProof_DifferentAlgorithms tests various signature algorithms
validator/dpop_test.go:343
Function
Test_ValidateDPoPProof_EmptyProof
Test_ValidateDPoPProof_EmptyProof tests validation with empty proof string
validator/dpop_test.go:111
Function
Test_ValidateDPoPProof_InvalidHeaderJSON
Test_ValidateDPoPProof_InvalidHeaderJSON tests validation with malformed header JSON
validator/dpop_test.go:570
Function
Test_ValidateDPoPProof_InvalidJWK
Test_ValidateDPoPProof_InvalidJWK tests validation with malformed JWK
validator/dpop_test.go:589
Function
Test_ValidateDPoPProof_InvalidSignature
Test_ValidateDPoPProof_InvalidSignature tests validation with tampered proof
validator/dpop_test.go:302
Function
Test_ValidateDPoPProof_InvalidTypHeader
Test_ValidateDPoPProof_InvalidTypHeader tests validation with wrong typ header
validator/dpop_test.go:156
Function
Test_ValidateDPoPProof_MalformedJWT
Test_ValidateDPoPProof_MalformedJWT tests validation with malformed JWT
validator/dpop_test.go:123
Function
Test_ValidateDPoPProof_MissingJWK
Test_ValidateDPoPProof_MissingJWK tests validation without JWK in header
validator/dpop_test.go:191
Function
Test_ValidateDPoPProof_MissingRequiredClaims
Test_ValidateDPoPProof_MissingRequiredClaims tests validation with missing claims
validator/dpop_test.go:225
Function
Test_ValidateDPoPProof_Success
Test_ValidateDPoPProof_Success tests successful DPoP proof validation
validator/dpop_test.go:25
Function
Test_ValidateDPoPProof_UnsupportedAlgorithm
Test_ValidateDPoPProof_UnsupportedAlgorithm tests validation with unsupported algorithm
validator/dpop_test.go:618
Function
Test_ValidateDPoPProof_WithOptionalClaims
Test_ValidateDPoPProof_WithOptionalClaims tests DPoP proof with nonce and ath
validator/dpop_test.go:72
Function
Test_WithCredentialsOptional
(t *testing.T)
option_test.go:169
Function
Test_WithErrorHandler
(t *testing.T)
option_test.go:227
Function
Test_WithExclusionUrls
(t *testing.T)
option_test.go:257
Function
Test_WithLogger
(t *testing.T)
option_test.go:293
Function
Test_WithTokenExtractor
(t *testing.T)
option_test.go:242
Function
Test_WithValidateOnOptions
(t *testing.T)
option_test.go:198
Function
Test_calculateJKT
Test_calculateJKT tests JKT calculation for different key types
validator/dpop_test.go:416
Function
Test_calculateJKT_EdgeCases
Test_calculateJKT_EdgeCases tests edge cases for calculateJKT
validator/dpop_test.go:722
Function
Test_calculateJKT_MatchesSpec
Test_calculateJKT_MatchesSpec tests that JKT calculation matches RFC 7638
validator/dpop_test.go:473
Function
Test_extractConfirmationClaim
Test_extractConfirmationClaim tests cnf claim extraction from access tokens
validator/dpop_test.go:495
Function
Test_extractConfirmationClaim_InvalidBase64Payload
Test_extractConfirmationClaim_InvalidBase64Payload tests extraction with invalid base64
validator/dpop_test.go:704
Function
Test_extractConfirmationClaim_InvalidPayloadJSON
Test_extractConfirmationClaim_InvalidPayloadJSON tests extraction with malformed payload
validator/dpop_test.go:668
Function
Test_extractDPoPClaims_InvalidBase64Payload
Test_extractDPoPClaims_InvalidBase64Payload tests extraction with invalid base64 in payload
validator/dpop_test.go:686
Function
Test_extractDPoPClaims_InvalidPayloadJSON
Test_extractDPoPClaims_InvalidPayloadJSON tests extraction with malformed payload
validator/dpop_test.go:650
Function
Test_invalidError
(t *testing.T)
option_test.go:759
Function
Test_validatorAdapter
(t *testing.T)
option_test.go:732
← previous
next →
601–700 of 744, ranked by callers