Skip to content

Commit 6b97776

Browse files
committedJun 21, 2024
todos amended
1 parent 9766ac4 commit 6b97776

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎jamf/jamfprointegration/auth_oauth.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,29 +88,29 @@ func (a *oauth) getNewToken() error {
8888
return nil
8989
}
9090

91-
// TODO migrate strings
91+
// TODO func comment
9292
func (a *oauth) getTokenString() string {
9393
return a.token
9494
}
9595

96-
// TODO migrate strings
96+
// TODO func comment
9797
func (a *oauth) getExpiryTime() time.Time {
9898
return a.expiryTime
9999
}
100100

101101
// Utils
102102

103-
// TODO migrate strings
103+
// TODO func comment
104104
func (a *oauth) tokenExpired() bool {
105105
return a.expiryTime.Before(time.Now())
106106
}
107107

108-
// TODO migrate strings
108+
// TODO func comment
109109
func (a *oauth) tokenInBuffer() bool {
110110
return time.Until(a.expiryTime) <= a.bufferPeriod
111111
}
112112

113-
// TODO migrate strings
113+
// TODO func comment
114114
func (a *oauth) tokenEmpty() bool {
115115
return a.token == ""
116116
}

0 commit comments

Comments
 (0)