management.Ticket
: Add fieldIncludeEmailInRedirect
(#180)management.UserIdentity
: Add fieldRefreshToken
(#167)
management.ClientRefreshToken
: AddInfiniteTokenLifetime
,InfiniteIdleTokenLifetime
andIdleTokenLifetime
fields (#184).management.User
: Fix possible inconsistencies withEmailVerified
field (#181).
management.UserManager
:Link()
links two user accounts together (#178).
management.HookSecrets
:HookSecrets
are not a pointer anymore (#176).management.HookManager
:ReplaceSecrets
is introduced to enable PUT semantics for hook secrets (#176).management.TenantUniversalLoginColors
: Marshal/unmarshal branding colors correctly (#177).
management.Branding
: add support forBrandingUniversalLogin
(#161).
management.ConnectionOptions
: unmarshal options only if not nil (#165).management.HookManager.List
: was using the wrong endpoint (162).management.ResourceServerManager.List
: was using the wrong endpoint.
management.UserIdentity
: AddAccessToken
field (#113).management.ConnectionOptionsSAML
: Add missingSetUserAttributes
field (#159).
management.WithInsecure
: allow insecure HTTP scheme to enable testing / mocking.
management.LogStream
: new resource now available (#144)
management.Tenant
: changedSessionTimeout
andIdleSessionTimeout
tofloat64
. Values smaller than 1 will be marshalled with a_in_minutes
suffix (#156).management.Connection
: removedRawOptions
and handle (un-)marshalling internally.
management.RequestOption
: renamed frommanagement.ListOption
and is now used with all requests to the Auth0 Management API (#151).management.ManagementOption
: renamed from the privateapiOption
and added several more options.management.New
: now takes only one mandatory argument (domain). Authentication can is configured usingWithClientCredentials
orWithStaticToken
.management.Request
,management.NewRequest
andmanagement.Do
: exposed a set of functions to allow more control over the request/response.
management.Job
: Fix typo in JSON tag (#154).management.ConnectionOptionsOAuth2
: AddAuthorizationURL
andTokenURL
(#147).
management.ConnectionOptions
: Now supportsOAuth2
connection type (#141).management.ConnectionOptionsSAML
: Add missing options (#138).
management.User
: addLastIP
andLoginsCount
fields (#137).
management.ConnectionOptionsOIDC
: add missingScopes()
andSetScopes()
methods.
management.ConnectionOptions*
:SetScopes()
was ignoring theenable
argument.
management.UserManager
:Roles()
returnsRoleList
(#109).management.UserManager
:Permissions()
returnsPermissionList
.management.RoleManager
:Users()
returnsUserList
.management.RoleManager
:Permissions()
returnsPermissionList
.
management.Branding
: Support for bothBrandingColors.PageBackgroundGradient
as well asBrandingColors.PageBackground
. (#99)
management.ConnectionOptionsEmail
,management.ConnectionOptionsSMS
: addauthParams
.management.UserIdentity
: correctly marshal/unmarshal integeruser_id
's (#101, #102).
management.Tenant
: Adduse_scope_descriptions_for_consent
flag.
- Breaking Change:
Connection.Options
is now aninterface{}
accepting different types depending on the strategy.