Documentation ¶ Index ¶ func GetCachedToken(config config.Config, privateKey *rsa.PrivateKey, ...) (string, error) type CachedToken type CachedTokenValue Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetCachedToken ¶ func GetCachedToken(config config.Config, privateKey *rsa.PrivateKey, metadataTokenHeader map[string]string, metadataTokenPayload map[string]string, metadataOauthRequest map[string]string) (string, error) Types ¶ type CachedToken ¶ type CachedToken struct { TokenValue CachedTokenValue Mutex sync.Mutex } type CachedTokenValue ¶ type CachedTokenValue struct { Token string Expiry time.Time SoftExpiry time.Time Issued time.Time } Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.