Lines Matching refs:TOKEN
14 token=
26 -t | --token [github_auth_token]
27 Input an auth token to access the googlesamples GitHub org
47 ./prebuilts/gradle folder and prompt for an auth token when needed.\e[0m\n"
77 -t|--token)
79 token="$2"; shift
256 ## If the user hasn't supplied a token via parameter, ask now
258 if ! [ -n "$token" ]
261 Input a valid googlesamples GitHub access token to continue: " -r
262 token=$REPLY
266 ## Test that token
269 -H "Authorization: token $token" \
292 git remote set-url origin "https://$token@github.com/googlesamples/android-$i.git"
295 #overwrite remote url to not contain auth token
320 CREATE="curl -H 'Authorization: token '$TOKEN \
327 -H 'Authorization: token '$TOKEN \
333 URL="https://$token@github.com/$repoName"
351 echoerr "That token doesn't work. A test returned the code: $tokenTest"