Fix some false positive gosec warnings.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-12-09 10:42:37 -06:00
parent f1aff2faab
commit b04db6ad2b
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -15,8 +15,8 @@ import (
)
const (
tokenTypeAccessToken = "urn:ietf:params:oauth:token-type:access_token"
tokenTypeJWT = "urn:ietf:params:oauth:token-type:jwt"
tokenTypeAccessToken = "urn:ietf:params:oauth:token-type:access_token" //nolint: gosec
tokenTypeJWT = "urn:ietf:params:oauth:token-type:jwt" //nolint: gosec
)
type stsParams struct {