Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoint = os.Getenv("Endpoint")
View Source
var M2MID = os.Getenv("M2M_Id")
View Source
var M2MSecret = os.Getenv("M2M_Secret")
Functions ¶
func UpdateUserMetaData ¶
Types ¶
type CustomData ¶
type CustomData map[string]interface{}
type PatchBody ¶
type PatchBody struct {
CustomData CustomData `json:"customData"`
}
type User ¶
type User struct { Id string `json:"id"` Username string `json:"username"` PrimaryEmail string `json:"primaryEmail"` PrimaryPhone string `json:"primaryPhone"` Name string `json:"name"` Avatar string `json:"avatar"` CustomData map[string]interface{} `json:"customData"` LastSignInAt int `json:"lastSignInAt"` CreatedAt int `json:"createdAt"` ApplicationId string `json:"applicationId"` IsSuspended bool `json:"isSuspended"` HasPassword bool `json:"hasPassword"` }
func GetUserProfile ¶
Click to show internal directories.
Click to hide internal directories.