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.2.0 curl_auth.sh
cf-uaac-4.1.0 curl_auth.sh
cf-uaac-4.0.0 curl_auth.sh
cf-uaac-3.13.1 curl_auth.sh
cf-uaac-3.13.0 curl_auth.sh
cf-uaac-3.12.0 curl_auth.sh
cf-uaac-3.11.0 curl_auth.sh
cf-uaac-3.10.0 curl_auth.sh
cf-uaac-3.9.0 curl_auth.sh
cf-uaac-3.6.0 curl_auth.sh
cf-uaac-3.5.0 curl_auth.sh
cf-uaac-3.4.0 curl_auth.sh
cf-uaac-3.3.0 curl_auth.sh