Browse Source

added comment

Jonathan Turner 8 years ago
parent
commit
f4cfb891ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      credentials/credentials.go

+ 1 - 0
credentials/credentials.go

@@ -248,6 +248,7 @@ func (c *Credentials) SessionID() string {
 	return c.sessionID
 }
 
+// Expired indicates if the credential has expired.
 func (c *Credentials) Expired() bool {
 	if !c.ValidUntil.IsZero() && time.Now().UTC().After(c.ValidUntil) {
 		return true