SYMBOL INDEX (165 symbols across 32 files) FILE: claims.go type Claims (line 11) | type Claims interface type StandardClaims (line 18) | type StandardClaims struct method Valid (line 32) | func (c StandardClaims) Valid() error { method VerifyAudience (line 63) | func (c *StandardClaims) VerifyAudience(cmp string, req bool) bool { method VerifyExpiresAt (line 69) | func (c *StandardClaims) VerifyExpiresAt(cmp int64, req bool) bool { method VerifyIssuedAt (line 75) | func (c *StandardClaims) VerifyIssuedAt(cmp int64, req bool) bool { method VerifyIssuer (line 81) | func (c *StandardClaims) VerifyIssuer(cmp string, req bool) bool { method VerifyNotBefore (line 87) | func (c *StandardClaims) VerifyNotBefore(cmp int64, req bool) bool { function verifyAud (line 93) | func verifyAud(aud []string, cmp string, required bool) bool { function verifyExp (line 116) | func verifyExp(exp int64, now int64, required bool) bool { function verifyIat (line 123) | func verifyIat(iat int64, now int64, required bool) bool { function verifyIss (line 130) | func verifyIss(iss string, cmp string, required bool) bool { function verifyNbf (line 141) | func verifyNbf(nbf int64, now int64, required bool) bool { FILE: cmd/jwt/app.go function main (line 37) | func main() { function start (line 61) | func start() error { function loadData (line 75) | func loadData(p string) ([]byte, error) { function printJSON (line 97) | func printJSON(j interface{}) error { function verifyToken (line 116) | func verifyToken() error { function signToken (line 169) | func signToken() error { function showToken (line 244) | func showToken() error { function isEs (line 276) | func isEs() bool { function isRs (line 280) | func isRs() bool { FILE: cmd/jwt/args.go type ArgList (line 9) | type ArgList method String (line 11) | func (l ArgList) String() string { method Set (line 16) | func (l ArgList) Set(arg string) error { FILE: ecdsa.go type SigningMethodECDSA (line 18) | type SigningMethodECDSA struct method Alg (line 52) | func (m *SigningMethodECDSA) Alg() string { method Verify (line 58) | func (m *SigningMethodECDSA) Verify(signingString, signature string, k... method Sign (line 100) | func (m *SigningMethodECDSA) Sign(signingString string, key interface{... function init (line 32) | func init() { FILE: ecdsa_test.go function TestECDSAVerify (line 54) | func TestECDSAVerify(t *testing.T) { function TestECDSASign (line 78) | func TestECDSASign(t *testing.T) { FILE: ecdsa_utils.go function ParseECPrivateKeyFromPEM (line 16) | func ParseECPrivateKeyFromPEM(key []byte) (*ecdsa.PrivateKey, error) { function ParseECPublicKeyFromPEM (line 43) | func ParseECPublicKeyFromPEM(key []byte) (*ecdsa.PublicKey, error) { FILE: errors.go constant ValidationErrorMalformed (line 16) | ValidationErrorMalformed uint32 = 1 << iota constant ValidationErrorUnverifiable (line 17) | ValidationErrorUnverifiable constant ValidationErrorSignatureInvalid (line 18) | ValidationErrorSignatureInvalid constant ValidationErrorAudience (line 21) | ValidationErrorAudience constant ValidationErrorExpired (line 22) | ValidationErrorExpired constant ValidationErrorIssuedAt (line 23) | ValidationErrorIssuedAt constant ValidationErrorIssuer (line 24) | ValidationErrorIssuer constant ValidationErrorNotValidYet (line 25) | ValidationErrorNotValidYet constant ValidationErrorId (line 26) | ValidationErrorId constant ValidationErrorClaimsInvalid (line 27) | ValidationErrorClaimsInvalid function NewValidationError (line 31) | func NewValidationError(errorText string, errorFlags uint32) *Validation... type ValidationError (line 39) | type ValidationError struct method Error (line 46) | func (e ValidationError) Error() string { method valid (line 57) | func (e *ValidationError) valid() bool { FILE: example_test.go function ExampleNewWithClaims_standardClaims (line 14) | func ExampleNewWithClaims_standardClaims() { function ExampleNewWithClaims_customClaimsType (line 31) | func ExampleNewWithClaims_customClaimsType() { function ExampleParseWithClaims_customClaimsType (line 56) | func ExampleParseWithClaims_customClaimsType() { function at (line 81) | func at(t time.Time, f func()) { function ExampleParse_errorChecking (line 90) | func ExampleParse_errorChecking() { FILE: hmac.go type SigningMethodHMAC (line 11) | type SigningMethodHMAC struct method Alg (line 44) | func (m *SigningMethodHMAC) Alg() string { method Verify (line 49) | func (m *SigningMethodHMAC) Verify(signingString, signature string, ke... method Sign (line 82) | func (m *SigningMethodHMAC) Sign(signingString string, key interface{}... function init (line 24) | func init() { FILE: hmac_example_test.go function init (line 15) | func init() { function ExampleNew_hmac (line 25) | func ExampleNew_hmac() { function ExampleParse_hmac (line 41) | func ExampleParse_hmac() { FILE: hmac_test.go function TestHMACVerify (line 50) | func TestHMACVerify(t *testing.T) { function TestHMACSign (line 65) | func TestHMACSign(t *testing.T) { function BenchmarkHS256Signing (line 81) | func BenchmarkHS256Signing(b *testing.B) { function BenchmarkHS384Signing (line 85) | func BenchmarkHS384Signing(b *testing.B) { function BenchmarkHS512Signing (line 89) | func BenchmarkHS512Signing(b *testing.B) { FILE: http_example_test.go constant privKeyPath (line 24) | privKeyPath = "test/sample_key" constant pubKeyPath (line 25) | pubKeyPath = "test/sample_key.pub" function init (line 40) | func init() { function fatal (line 68) | func fatal(err error) { type CustomerInfo (line 75) | type CustomerInfo struct type CustomClaimsExample (line 80) | type CustomClaimsExample struct function Example_getTokenViaHTTP (line 86) | func Example_getTokenViaHTTP() { function Example_useTokenViaHTTP (line 120) | func Example_useTokenViaHTTP() { function createToken (line 144) | func createToken(user string) (string, error) { function authHandler (line 164) | func authHandler(w http.ResponseWriter, r *http.Request) { function restrictedHandler (line 198) | func restrictedHandler(w http.ResponseWriter, r *http.Request) { FILE: map_claims.go type MapClaims (line 11) | type MapClaims method VerifyAudience (line 15) | func (m MapClaims) VerifyAudience(cmp string, req bool) bool { method VerifyExpiresAt (line 36) | func (m MapClaims) VerifyExpiresAt(cmp int64, req bool) bool { method VerifyIssuedAt (line 49) | func (m MapClaims) VerifyIssuedAt(cmp int64, req bool) bool { method VerifyIssuer (line 62) | func (m MapClaims) VerifyIssuer(cmp string, req bool) bool { method VerifyNotBefore (line 69) | func (m MapClaims) VerifyNotBefore(cmp int64, req bool) bool { method Valid (line 84) | func (m MapClaims) Valid() error { FILE: map_claims_test.go function TestVerifyAud (line 7) | func TestVerifyAud(t *testing.T) { FILE: none.go constant UnsafeAllowNoneSignatureType (line 7) | UnsafeAllowNoneSignatureType unsafeNoneMagicConstant = "none signing met... type signingMethodNone (line 11) | type signingMethodNone struct method Alg (line 23) | func (m *signingMethodNone) Alg() string { method Verify (line 28) | func (m *signingMethodNone) Verify(signingString, signature string, ke... method Sign (line 47) | func (m *signingMethodNone) Sign(signingString string, key interface{}... type unsafeNoneMagicConstant (line 12) | type unsafeNoneMagicConstant function init (line 14) | func init() { FILE: none_test.go function TestNoneVerify (line 43) | func TestNoneVerify(t *testing.T) { function TestNoneSign (line 58) | func TestNoneSign(t *testing.T) { FILE: parser.go type Parser (line 10) | type Parser struct method Parse (line 19) | func (p *Parser) Parse(tokenString string, keyFunc Keyfunc) (*Token, e... method ParseWithClaims (line 23) | func (p *Parser) ParseWithClaims(tokenString string, claims Claims, ke... method ParseUnverified (line 96) | func (p *Parser) ParseUnverified(tokenString string, claims Claims) (t... FILE: parser_test.go function init (line 25) | func init() { function TestParser_Parse (line 186) | func TestParser_Parse(t *testing.T) { function TestParser_ParseUnverified (line 250) | func TestParser_ParseUnverified(t *testing.T) { function benchmarkSigning (line 291) | func benchmarkSigning(b *testing.B, method jwt.SigningMethod, key interf... FILE: request/extractor.go type Extractor (line 16) | type Extractor interface type HeaderExtractor (line 22) | type HeaderExtractor method ExtractToken (line 24) | func (e HeaderExtractor) ExtractToken(req *http.Request) (string, erro... type ArgumentExtractor (line 37) | type ArgumentExtractor method ExtractToken (line 39) | func (e ArgumentExtractor) ExtractToken(req *http.Request) (string, er... type MultiExtractor (line 54) | type MultiExtractor method ExtractToken (line 56) | func (e MultiExtractor) ExtractToken(req *http.Request) (string, error) { type PostExtractionFilter (line 70) | type PostExtractionFilter struct method ExtractToken (line 75) | func (e *PostExtractionFilter) ExtractToken(req *http.Request) (string... FILE: request/extractor_example_test.go constant exampleTokenA (line 9) | exampleTokenA = "A" function ExampleHeaderExtractor (line 12) | func ExampleHeaderExtractor() { function ExampleArgumentExtractor (line 23) | func ExampleArgumentExtractor() { FILE: request/extractor_test.go function TestExtractor (line 66) | func TestExtractor(t *testing.T) { function makeExampleRequest (line 85) | func makeExampleRequest(method, path string, headers map[string]string, ... FILE: request/oauth2.go function stripBearerPrefixFromTokenString (line 8) | func stripBearerPrefixFromTokenString(tok string) (string, error) { FILE: request/request.go function ParseFromRequest (line 14) | func ParseFromRequest(req *http.Request, extractor Extractor, keyFunc jw... function ParseFromRequestWithClaims (line 43) | func ParseFromRequestWithClaims(req *http.Request, extractor Extractor, ... type fromRequestParser (line 47) | type fromRequestParser struct type ParseFromRequestOption (line 54) | type ParseFromRequestOption function WithClaims (line 57) | func WithClaims(claims jwt.Claims) ParseFromRequestOption { function WithParser (line 64) | func WithParser(parser *jwt.Parser) ParseFromRequestOption { FILE: request/request_test.go function TestParseRequest (line 56) | func TestParseRequest(t *testing.T) { FILE: rsa.go type SigningMethodRSA (line 11) | type SigningMethodRSA struct method Alg (line 43) | func (m *SigningMethodRSA) Alg() string { method Verify (line 49) | func (m *SigningMethodRSA) Verify(signingString, signature string, key... method Sign (line 78) | func (m *SigningMethodRSA) Sign(signingString string, key interface{})... function init (line 23) | func init() { FILE: rsa_pss.go type SigningMethodRSAPSS (line 12) | type SigningMethodRSAPSS struct method Verify (line 84) | func (m *SigningMethodRSAPSS) Verify(signingString, signature string, ... method Sign (line 118) | func (m *SigningMethodRSAPSS) Sign(signingString string, key interface... function init (line 29) | func init() { FILE: rsa_pss_test.go function TestRSAPSSVerify (line 53) | func TestRSAPSSVerify(t *testing.T) { function TestRSAPSSSign (line 76) | func TestRSAPSSSign(t *testing.T) { function TestRSAPSSSaltLengthCompatibility (line 100) | func TestRSAPSSSaltLengthCompatibility(t *testing.T) { function makeToken (line 133) | func makeToken(method jwt.SigningMethod) string { function verify (line 146) | func verify(signingMethod jwt.SigningMethod, token string) bool { FILE: rsa_test.go function TestRSAVerify (line 47) | func TestRSAVerify(t *testing.T) { function TestRSASign (line 65) | func TestRSASign(t *testing.T) { function TestRSAVerifyWithPreParsedPrivateKey (line 84) | func TestRSAVerifyWithPreParsedPrivateKey(t *testing.T) { function TestRSAWithPreParsedPrivateKey (line 98) | func TestRSAWithPreParsedPrivateKey(t *testing.T) { function TestRSAKeyParsing (line 115) | func TestRSAKeyParsing(t *testing.T) { function BenchmarkRS256Signing (line 157) | func BenchmarkRS256Signing(b *testing.B) { function BenchmarkRS384Signing (line 167) | func BenchmarkRS384Signing(b *testing.B) { function BenchmarkRS512Signing (line 177) | func BenchmarkRS512Signing(b *testing.B) { FILE: rsa_utils.go function ParseRSAPrivateKeyFromPEM (line 17) | func ParseRSAPrivateKeyFromPEM(key []byte) (*rsa.PrivateKey, error) { function ParseRSAPrivateKeyFromPEMWithPassword (line 43) | func ParseRSAPrivateKeyFromPEMWithPassword(key []byte, password string) ... function ParseRSAPublicKeyFromPEM (line 75) | func ParseRSAPublicKeyFromPEM(key []byte) (*rsa.PublicKey, error) { FILE: signing_method.go type SigningMethod (line 11) | type SigningMethod interface function RegisterSigningMethod (line 19) | func RegisterSigningMethod(alg string, f func() SigningMethod) { function GetSigningMethod (line 27) | func GetSigningMethod(alg string) (method SigningMethod) { FILE: test/helpers.go function LoadRSAPrivateKeyFromDisk (line 9) | func LoadRSAPrivateKeyFromDisk(location string) *rsa.PrivateKey { function LoadRSAPublicKeyFromDisk (line 21) | func LoadRSAPublicKeyFromDisk(location string) *rsa.PublicKey { function MakeSampleToken (line 33) | func MakeSampleToken(c jwt.Claims, key interface{}) string { FILE: token.go type Keyfunc (line 19) | type Keyfunc type Token (line 23) | type Token struct method SignedString (line 49) | func (t *Token) SignedString(key interface{}) (string, error) { method SigningString (line 65) | func (t *Token) SigningString() (string, error) { function New (line 33) | func New(method SigningMethod) *Token { function NewWithClaims (line 37) | func NewWithClaims(method SigningMethod, claims Claims) *Token { function Parse (line 88) | func Parse(tokenString string, keyFunc Keyfunc) (*Token, error) { function ParseWithClaims (line 92) | func ParseWithClaims(tokenString string, claims Claims, keyFunc Keyfunc)... function EncodeSegment (line 97) | func EncodeSegment(seg []byte) string { function DecodeSegment (line 102) | func DecodeSegment(seg string) ([]byte, error) {