Skip to content

mdisibio/go-auth0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-auth0

GoDoc wercker status Maintainability Test Coverage

Documentation

You can find this library documentation in this page.

For more information about auth0 check their documentation page

Management API Client

The Auth0 Management API is meant to be used by back-end servers or trusted parties performing administrative tasks. Generally speaking, anything that can be done through the Auth0 dashboard (and more) can also be done through this API.

Initialize your client class with an API v2 token and a domain.

import "github.com/yieldr/go-auth0/management"

m, err := management.New("<auth0-domain>", "<auth0-client-id>", "<auth0-client-secret>")
if err != nil {
	// handle err
}

With an authenticated management client we can now interact with the Auth0 Management API.

c := &Client{
	Name: "Client Name",
	Description: "Long description of client",
}

err = m.Client.Create(c)
if err != nil {
	// handle err
}

Following is a list of supported Auth0 resources.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%