Registry / auth / cloudfoundry-incubator-uaago

cloudfoundry-incubator-uaago

JSON →
library0.0.0-20190307164349-8136b7bbe76egogounverified

A Go client library for interacting with Cloud Foundry's User Account and Authentication (UAA) server.

go get github.com/cloudfoundry-incubator/uaago
INSTALL
IMPORT
SIG · CLOUDFOUNDRY-INCUB
C
cloudfoundry-incubator-uaago
authgov0.0.0-20190307164349-8136b7bbe76e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

uaago
github.com/cloudfoundry-incubator/uaago

Obtain an OAuth2 token from a UAA server.

package main import ( "fmt" "github.com/cloudfoundry-incubator/uaago" ) func main() { client := uaago.NewClient("https://uaa.example.com") token, err := client.GetAuthToken("client_id", "client_secret", "password", "username", "password") if err != nil { fmt.Println(err) return } fmt.Println(token.AccessToken) }
Debug
Known issues
gotchaThis library is from the Cloud Foundry Incubator and may not be actively maintained.
fix
Consider using github.com/cloudfoundry-community/go-uaa as a more maintained alternative.
affects: all
Upgrade
Version history
0.0.0-20190307164349-8136b7bbe76elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
cloudfoundry-incubator-uaago — go get cloudfoundry-incubator-uaago · libregistry