MCPcopy
hub / github.com/minio/minio-go / isExpired

Method isExpired

pkg/credentials/credentials.go:240–242  ·  view source on GitHub ↗

isExpired helper method wrapping the definition of expired credentials.

()

Source from the content-addressed store, hash-verified

238
239// isExpired helper method wrapping the definition of expired credentials.
240func (c *Credentials) isExpired() bool {
241 return c.forceRefresh || c.provider.IsExpired()
242}

Callers 2

GetWithContextMethod · 0.95
IsExpiredMethod · 0.95

Calls 1

IsExpiredMethod · 0.65

Tested by

no test coverage detected