auth0connection

package
v0.0.0-...-8aeaac4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ServicePath = "connections"

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Id string `json:"id,omitempty"`
	Properties
}

type DeleteUserParams

type DeleteUserParams struct {
	Email string `url:"email"`
}

type ListParams

type ListParams struct {
	PerPage       interface{} `url:"per_page,omitempty"`
	Page          interface{} `url:"page,omitempty"`
	Strategy      *[]string   `url:"strategy,omitempty,comma"`
	Fields        interface{} `url:"fields,omitempty"`
	IncludeFields interface{} `url:"include_fields,omitempty"`
}

type Options

type Options struct {
	Validation             *map[string]interface{} `json:"validation,omitempty"`
	PasswordPolicy         interface{}             `json:"passwordPolicy,omitempty"`
	PasswordHistory        *map[string]interface{} `json:"password_history,omitempty"`
	PasswordNoPersonalInfo *map[string]interface{} `json:"password_no_personal_info,omitempty"`
	PasswordDictionary     *map[string]interface{} `json:"password_dictionary,omitempty"`
}

type Properties

type Properties struct {
	Name           interface{} `json:"name,omitempty"`
	Strategy       interface{} `json:"strategy,omitempty"`
	Options        *Options    `json:"options,omitempty"`
	EnabledClients *[]string   `json:"enabled_clients,omitempty"`
	Realms         *[]string   `json:"realms,omitempty"`
}

type ReadParams

type ReadParams struct {
	Fields        interface{} `url:"fields,omitempty"`
	IncludeFields interface{} `url:"include_fields,omitempty"`
}

type Service

type Service struct {
	Api *auth0mgmt.Api
}

func (*Service) Create

func (s *Service) Create(params *Properties) (*Connection, *http.Response, error)

func (*Service) Delete

func (s *Service) Delete(id string) (*http.Response, error)

func (*Service) DeleteUser

func (s *Service) DeleteUser(id string, params *DeleteUserParams) (*http.Response, error)

func (*Service) List

func (s *Service) List(params *ListParams) (*[]Connection, *http.Response, error)

func (*Service) Path

func (s *Service) Path(paths ...string) string

func (*Service) Read

func (s *Service) Read(id string, params *ReadParams) (*Connection, *http.Response, error)

func (*Service) Update

func (s *Service) Update(id string, params *Properties) (*Connection, *http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL