github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/api/uaa/constant/grant_type.go (about) 1 package constant 2 3 // GrantType is the type of authentication being used to obtain the token. 4 type GrantType string 5 6 const ( 7 // GrantTypeClientCredentials is used for a preconfigured client ID/secret 8 // authentication. 9 GrantTypeClientCredentials GrantType = "client_credentials" 10 // GrantTypePassword is used for user's username/password authentication. 11 GrantTypePassword GrantType = "password" 12 GrantTypeRefreshToken GrantType = "refresh_token" 13 )