{"repo":"cloudfoundry/go-uaa","free":true,"listed":false,"github":"https://github.com/cloudfoundry/go-uaa","clone":"git clone https://github.com/cloudfoundry/go-uaa.git","description":"API for UAA written in Go","language":"Go","stars":13,"topics":["uaa","api","cloudfoundry","oauth2","scim","golang","go"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"go-uaa Overview go-uaa is a client library for the UAA API. It is a go module . Usage Step 1: Add go-uaa As A Dependency Step 2: Construct and Use uaa.API Construct a uaa.API by using uaa.New(target string, authOpt AuthenticationOption, opts ...Option) : The target is the URL of your UAA API (for example, https://uaa.run.pivotal.io); do not include /oauth/token suffix You must choose one authentication method and supply it as the third argument. There are a number of authentication methods available: uaa.WithClientCredentials(clientID string, clientSecret string, tokenFormat TokenFormat) uaa.WithPasswordCredentials(clientID string, clientSecret string, username string, password string, tokenFormat TokenFormat) uaa.WithAuthorizationCode(clientID string, clientSecret string, authorizationCode string, tokenFormat TokenFormat, redirectURL url.URL) uaa.WithRefreshToken(clientID string, clientSecret string, refreshToken string, tokenFormat TokenFormat) uaa.WithToken(token oauth2.Token) (this is the only authentication methods that cannot automatically refresh the token when it expires) You can optionally supply one or more options: uaa.WithZoneID(zoneID string) if you want to specify your own zone ID uaa.WithClient(client http.Client) if you want to specify your own http.Client uaa.WithSkipSSLValidation(skipSSLValidation bool) if you want to ignore SSL validation issues; this is not recommended, and you should instead ensure you trust the certificate authority that issues the certi","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudfoundry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudfoundry/go-uaa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}