Sha256: 84cd68d98bc104f22e3094712439e20eb956cd44ee4fb1d72e32880b4c587c21

Contents?: true

Size: 154 Bytes

Versions: 33

Compression:

Stored size: 154 Bytes

Contents

#!/usr/bin/env bash
token="$(uaac context | awk '/^ *access_token\: *([a-zA-Z0-9.\/+\-_]+) *$/ {print $2}' -)"
curl -H"Authorization: bearer $token" "$@"

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
cf-uaac-4.27.0 curl_auth.sh
cf-uaac-4.26.0 curl_auth.sh
cf-uaac-4.25.0 curl_auth.sh
cf-uaac-4.23.0 curl_auth.sh
cf-uaac-4.22.0 curl_auth.sh
cf-uaac-4.21.0 curl_auth.sh
cf-uaac-4.20.0 curl_auth.sh
cf-uaac-4.19.0 curl_auth.sh
cf-uaac-4.18.0 curl_auth.sh
cf-uaac-4.17.0 curl_auth.sh
cf-uaac-4.16.0 curl_auth.sh
cf-uaac-4.15.0 curl_auth.sh
cf-uaac-4.14.0 curl_auth.sh
cf-uaac-4.9.0 curl_auth.sh
cf-uaac-4.8.0 curl_auth.sh
cf-uaac-4.7.0 curl_auth.sh
cf-uaac-4.6.0 curl_auth.sh
cf-uaac-4.5.0 curl_auth.sh
cf-uaac-4.4.0 curl_auth.sh
cf-uaac-4.3.0 curl_auth.sh