@@ -30,12 +30,12 @@ type UserDelegationCredential struct {
3030 userDelegationKey UserDelegationKey
3131}
3232
33- // AccountName returns the Storage account's Name
33+ // getAccountName returns the Storage account's Name
3434func (f * UserDelegationCredential ) getAccountName () string {
3535 return f .accountName
3636}
3737
38- // GetUDKParams is a helper method for accessing the user delegation key parameters outside of this package.
38+ // GetAccountName is a helper method for accessing the user delegation key parameters outside this package.
3939func GetAccountName (udc * UserDelegationCredential ) string {
4040 return udc .getAccountName ()
4141}
@@ -48,17 +48,17 @@ func (f *UserDelegationCredential) computeHMACSHA256(message string) (string, er
4848 return base64 .StdEncoding .EncodeToString (h .Sum (nil )), err
4949}
5050
51- // ComputeUDCHMACSHA256 is a helper method for computing the signed string outside of this package.
51+ // ComputeUDCHMACSHA256 is a helper method for computing the signed string outside this package.
5252func ComputeUDCHMACSHA256 (udc * UserDelegationCredential , message string ) (string , error ) {
5353 return udc .computeHMACSHA256 (message )
5454}
5555
56- // GetUDKParams returns UserDelegationKey
56+ // getUDKParams returns UserDelegationKey
5757func (f * UserDelegationCredential ) getUDKParams () * UserDelegationKey {
5858 return & f .userDelegationKey
5959}
6060
61- // GetUDKParams is a helper method for accessing the user delegation key parameters outside of this package.
61+ // GetUDKParams is a helper method for accessing the user delegation key parameters outside this package.
6262func GetUDKParams (udc * UserDelegationCredential ) * UserDelegationKey {
6363 return udc .getUDKParams ()
6464}
0 commit comments