Documentation ¶
Index ¶
- func Provider() terraform.ResourceProvider
- type AuthClient
- func (authClient *AuthClient) CreateUser(userRequest *UserRequest) (*User, error)
- func (authClient *AuthClient) DeleteById(id string) error
- func (authClient *AuthClient) GetUserById(id string) (*User, error)
- func (authClient *AuthClient) UpdateUserById(id string, userRequest *UserRequest) (*User, error)
- type Config
- type LoginRequest
- type LoginResponse
- type User
- type UserRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Types ¶
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config *Config) *AuthClient
func (*AuthClient) CreateUser ¶
func (authClient *AuthClient) CreateUser(userRequest *UserRequest) (*User, error)
func (*AuthClient) DeleteById ¶
func (authClient *AuthClient) DeleteById(id string) error
func (*AuthClient) GetUserById ¶
func (authClient *AuthClient) GetUserById(id string) (*User, error)
func (*AuthClient) UpdateUserById ¶
func (authClient *AuthClient) UpdateUserById(id string, userRequest *UserRequest) (*User, error)
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
AccessToken string `json:"access_token"`
}
type UserRequest ¶
type UserRequest struct { Connection string `json:"connection,omitempty"` Email string `json:"email,omitempty"` Name string `json:"name,omitempty"` Password string `json:"password,omitempty"` UserMetaData map[string]interface{} `json:"user_metadata,omitempty"` EmailVerified bool `json:"email_verified,omitempty"` }
Click to show internal directories.
Click to hide internal directories.