MCPcopy
hub / github.com/golang-jwt/jwt / GetExpirationTime

Method GetExpirationTime

map_claims.go:13–15  ·  view source on GitHub ↗

GetExpirationTime implements the Claims interface.

()

Source from the content-addressed store, hash-verified

11
12// GetExpirationTime implements the Claims interface.
13func (m MapClaims) GetExpirationTime() (*NumericDate, error) {
14 return m.parseNumericDate("exp")
15}
16
17// GetNotBefore implements the Claims interface.
18func (m MapClaims) GetNotBefore() (*NumericDate, error) {

Callers

nothing calls this directly

Calls 1

parseNumericDateMethod · 0.95

Tested by

no test coverage detected