ACTokenEntry represents a server access token entry that maps to multiple AC tokens.
| 12 | |
| 13 | // ACTokenEntry represents a server access token entry that maps to multiple AC tokens. |
| 14 | type ACTokenEntry struct { |
| 15 | User *common.AgentUser |
| 16 | ResourceId string |
| 17 | ACTokens map[string]string |
| 18 | OpenTime int |
| 19 | ExpireTime time.Time |
| 20 | } |
| 21 | |
| 22 | // GetExpireTime implements the common.TokenEntry interface. |
| 23 | func (e *ACTokenEntry) GetExpireTime() time.Time { |
nothing calls this directly
no outgoing calls
no test coverage detected