GetSubject implements the Claims interface.
()
| 36 | |
| 37 | // GetSubject implements the Claims interface. |
| 38 | func (m MapClaims) GetSubject() (string, error) { |
| 39 | return m.parseString("sub") |
| 40 | } |
| 41 | |
| 42 | // parseNumericDate tries to parse a key in the map claims type as a number |
| 43 | // date. This will succeed, if the underlying type is either a [float64] or a |
nothing calls this directly
no test coverage detected