v0.0.7
Features
- Add
uaa.API
- Add
uaa.NewWithClientCredentials
to create an API that authenticates with the UAA API via the client credentials grant - Add
uaa.NewWithPasswordCredentials
to create an API that authenticates with the UAA API via the password grant - Add
uaa.NewWithAuthorizationCode
to create an API that authenticates with the UAA API via the authorization code grant - Add
uaa.BuildURL
to add the scheme to a URL if it is missing - Add
uaa.BuildSubdomainURL
to assist in adding the zone to the target URL - If the API clients do not have a timeout set the timeout is set to 120 seconds
Breaking Changes
- Rename package from
github.com/cloudfoundry-community/uaa
togithub.com/cloudfoundry-community/go-uaa
; this will break import paths, but your code will still import things via theuaa
package name - Move
uaa.Info
touaa.API.GetInfo
- Move
uaa.Me
touaa.API.GetMe
- Remove
uaa.UserManager
uaa.UserManager.Get
>uaa.API.GetUser
uaa.UserManager.GetByUsername
>uaa.API.GetUserByUsername
uaa.UserManager.List
>uaa.API.ListAllUsers
uaa.UserManager.getUserPage
>uaa.API.ListUsers
uaa.UserManager.Create
>uaa.API.CreateUser
uaa.UserManager.Update
>uaa.API.UpdateUser
uaa.UserManager.Delete
>uaa.API.DeleteUser
uaa.UserManager.Activate
>uaa.API.ActivateUser
uaa.UserManager.Deactivate
>uaa.API.DeactivateUser
- Stop exporting
uaa.PaginatedUserList
(it becomesuaa.paginatedUserList
)
Detailed changes: v0.0.6...v0.0.7