(key fosite.TokenType)
| 39 | } |
| 40 | |
| 41 | func (s *Session) GetExpiresAt(key fosite.TokenType) time.Time { |
| 42 | if s.ExpiresAtMap == nil { |
| 43 | return time.Time{} |
| 44 | } |
| 45 | return s.ExpiresAtMap[key] |
| 46 | } |
| 47 | |
| 48 | func (s *Session) GetUsername() string { return s.Username } |
| 49 | func (s *Session) GetSubject() string { return s.Subject } |
no outgoing calls