@@ -58,7 +58,7 @@ func (info TokeninfoEndpoint) History(mytoken *string) (api.EventHistory, error)
58
58
return resp .EventHistory , nil
59
59
}
60
60
61
- // APISubtokens returns a api.TokeninfoTreeResponse listing metadata about the passed mytoken and its children (
61
+ // APISubtokens returns an api.TokeninfoTreeResponse listing metadata about the passed mytoken and its children (
62
62
// recursively)
63
63
// If the used mytoken changes (due to token rotation), the new mytoken is included in the api.TokeninfoTreeResponse
64
64
func (info TokeninfoEndpoint ) APISubtokens (mytoken string ) (resp api.TokeninfoSubtokensResponse , err error ) {
@@ -70,7 +70,7 @@ func (info TokeninfoEndpoint) APISubtokens(mytoken string) (resp api.TokeninfoSu
70
70
return
71
71
}
72
72
73
- // Subtokens returns a api.MytokenEntryTree listing metadata about the passed mytoken and its children (
73
+ // Subtokens returns an api.MytokenEntryTree listing metadata about the passed mytoken and its children (
74
74
// recursively)
75
75
// If the used mytoken changes (due to token rotation), the passed variable is updated accordingly.
76
76
func (info TokeninfoEndpoint ) Subtokens (mytoken * string ) (* api.MytokenEntryTree , error ) {
@@ -84,7 +84,7 @@ func (info TokeninfoEndpoint) Subtokens(mytoken *string) (*api.MytokenEntryTree,
84
84
return & resp .Tokens , nil
85
85
}
86
86
87
- // APIListMytokens returns a api.TokeninfoListResponse listing metadata about all the user's mytoken and their
87
+ // APIListMytokens returns an api.TokeninfoListResponse listing metadata about all the user's mytoken and their
88
88
// children (recursively)
89
89
// If the used mytoken changes (due to token rotation), the new mytoken is included in the api.TokeninfoListResponse
90
90
func (info TokeninfoEndpoint ) APIListMytokens (mytoken string ) (resp api.TokeninfoListResponse , err error ) {
0 commit comments