MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / GetExpiresAt

Method GetExpiresAt

internal/oauth/session.go:41–46  ·  view source on GitHub ↗
(key fosite.TokenType)

Source from the content-addressed store, hash-verified

39}
40
41func (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
48func (s *Session) GetUsername() string { return s.Username }
49func (s *Session) GetSubject() string { return s.Subject }

Calls

no outgoing calls

Tested by 1