Documentation ¶
Index ¶
- func BuildChangePasswordPayload(passwordAuthChangePasswordBody string, ...) (*passwordauth.ChangePasswordParams, error)
- func BuildCheckEmailAvailablePayload(passwordAuthCheckEmailAvailableEmail string, ...) (*passwordauth.CheckEmailAvailablePayload, error)
- func BuildCheckPhoneAvailablePayload(passwordAuthCheckPhoneAvailablePhone string, ...) (*passwordauth.CheckPhoneAvailablePayload, error)
- func BuildConfirmResetPayload(passwordAuthConfirmResetBody string, passwordAuthConfirmResetAPIKey string) (*passwordauth.ResetPasswordParams, error)
- func BuildLoginPayload(passwordAuthLoginBody string, passwordAuthLoginToken string, ...) (*passwordauth.LoginParams, error)
- func BuildRegisterPayload(passwordAuthRegisterBody string, passwordAuthRegisterAuthorization string, ...) (*passwordauth.RegisterParams, error)
- func BuildRemovePayload(passwordAuthRemoveAuthorization string, passwordAuthRemoveXSession string, ...) (*passwordauth.RemovePayload, error)
- func BuildResetPayload(passwordAuthResetEmail string, passwordAuthResetAPIKey string) (*passwordauth.ResetPayload, error)
- func ChangePasswordPasswordAuthPath() string
- func CheckEmailAvailablePasswordAuthPath() string
- func CheckPhoneAvailablePasswordAuthPath() string
- func ConfirmResetPasswordAuthPath() string
- func DecodeChangePasswordResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeCheckEmailAvailableResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeCheckPhoneAvailableResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeConfirmResetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeLoginResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRegisterResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRemoveResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeResetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeChangePasswordRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeCheckEmailAvailableRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeCheckPhoneAvailableRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeConfirmResetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeLoginRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRegisterRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRemoveRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeResetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func LoginPasswordAuthPath() string
- func NewLoginUserMediaOK(body *LoginResponseBody, authorization string, xSession string) *passwordauthviews.UserMediaView
- func NewRegisterUserMediaOK(body *RegisterResponseBody, authorization string, xSession string) *passwordauthviews.UserMediaView
- func RegisterPasswordAuthPath() string
- func RemovePasswordAuthPath() string
- func ResetPasswordAuthPath() string
- type ChangePasswordRequestBody
- type Client
- func (c *Client) BuildChangePasswordRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildCheckEmailAvailableRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildCheckPhoneAvailableRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildConfirmResetRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildLoginRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRegisterRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRemoveRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildResetRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) ChangePassword() goa.Endpoint
- func (c *Client) CheckEmailAvailable() goa.Endpoint
- func (c *Client) CheckPhoneAvailable() goa.Endpoint
- func (c *Client) ConfirmReset() goa.Endpoint
- func (c *Client) Login() goa.Endpoint
- func (c *Client) Register() goa.Endpoint
- func (c *Client) Remove() goa.Endpoint
- func (c *Client) Reset() goa.Endpoint
- type ConfirmResetRequestBody
- type LoginRequestBody
- type LoginResponseBody
- type RegisterRequestBody
- type RegisterResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildChangePasswordPayload ¶
func BuildChangePasswordPayload(passwordAuthChangePasswordBody string, passwordAuthChangePasswordAuthorization string, passwordAuthChangePasswordXSession string, passwordAuthChangePasswordAPIKey string) (*passwordauth.ChangePasswordParams, error)
BuildChangePasswordPayload builds the payload for the password-auth change-password endpoint from CLI flags.
func BuildCheckEmailAvailablePayload ¶
func BuildCheckEmailAvailablePayload(passwordAuthCheckEmailAvailableEmail string, passwordAuthCheckEmailAvailableAPIKey string) (*passwordauth.CheckEmailAvailablePayload, error)
BuildCheckEmailAvailablePayload builds the payload for the password-auth check-email-available endpoint from CLI flags.
func BuildCheckPhoneAvailablePayload ¶
func BuildCheckPhoneAvailablePayload(passwordAuthCheckPhoneAvailablePhone string, passwordAuthCheckPhoneAvailableAPIKey string) (*passwordauth.CheckPhoneAvailablePayload, error)
BuildCheckPhoneAvailablePayload builds the payload for the password-auth check-phone-available endpoint from CLI flags.
func BuildConfirmResetPayload ¶
func BuildConfirmResetPayload(passwordAuthConfirmResetBody string, passwordAuthConfirmResetAPIKey string) (*passwordauth.ResetPasswordParams, error)
BuildConfirmResetPayload builds the payload for the password-auth confirm-reset endpoint from CLI flags.
func BuildLoginPayload ¶
func BuildLoginPayload(passwordAuthLoginBody string, passwordAuthLoginToken string, passwordAuthLoginAPIKey string) (*passwordauth.LoginParams, error)
BuildLoginPayload builds the payload for the password-auth login endpoint from CLI flags.
func BuildRegisterPayload ¶
func BuildRegisterPayload(passwordAuthRegisterBody string, passwordAuthRegisterAuthorization string, passwordAuthRegisterXSession string, passwordAuthRegisterAPIKey string) (*passwordauth.RegisterParams, error)
BuildRegisterPayload builds the payload for the password-auth register endpoint from CLI flags.
func BuildRemovePayload ¶
func BuildRemovePayload(passwordAuthRemoveAuthorization string, passwordAuthRemoveXSession string, passwordAuthRemoveAPIKey string) (*passwordauth.RemovePayload, error)
BuildRemovePayload builds the payload for the password-auth remove endpoint from CLI flags.
func BuildResetPayload ¶
func BuildResetPayload(passwordAuthResetEmail string, passwordAuthResetAPIKey string) (*passwordauth.ResetPayload, error)
BuildResetPayload builds the payload for the password-auth reset endpoint from CLI flags.
func ChangePasswordPasswordAuthPath ¶
func ChangePasswordPasswordAuthPath() string
ChangePasswordPasswordAuthPath returns the URL path to the password-auth service change-password HTTP endpoint.
func CheckEmailAvailablePasswordAuthPath ¶
func CheckEmailAvailablePasswordAuthPath() string
CheckEmailAvailablePasswordAuthPath returns the URL path to the password-auth service check-email-available HTTP endpoint.
func CheckPhoneAvailablePasswordAuthPath ¶
func CheckPhoneAvailablePasswordAuthPath() string
CheckPhoneAvailablePasswordAuthPath returns the URL path to the password-auth service check-phone-available HTTP endpoint.
func ConfirmResetPasswordAuthPath ¶
func ConfirmResetPasswordAuthPath() string
ConfirmResetPasswordAuthPath returns the URL path to the password-auth service confirm-reset HTTP endpoint.
func DecodeChangePasswordResponse ¶
func DecodeChangePasswordResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeChangePasswordResponse returns a decoder for responses returned by the password-auth change-password endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeCheckEmailAvailableResponse ¶
func DecodeCheckEmailAvailableResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCheckEmailAvailableResponse returns a decoder for responses returned by the password-auth check-email-available endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeCheckPhoneAvailableResponse ¶
func DecodeCheckPhoneAvailableResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCheckPhoneAvailableResponse returns a decoder for responses returned by the password-auth check-phone-available endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeConfirmResetResponse ¶
func DecodeConfirmResetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeConfirmResetResponse returns a decoder for responses returned by the password-auth confirm-reset endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeLoginResponse ¶
func DecodeLoginResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeLoginResponse returns a decoder for responses returned by the password-auth login endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeRegisterResponse ¶
func DecodeRegisterResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRegisterResponse returns a decoder for responses returned by the password-auth register endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeRemoveResponse ¶
func DecodeRemoveResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRemoveResponse returns a decoder for responses returned by the password-auth remove endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeResetResponse ¶
func DecodeResetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeResetResponse returns a decoder for responses returned by the password-auth reset endpoint. restoreBody controls whether the response body should be restored after having been read.
func EncodeChangePasswordRequest ¶
func EncodeChangePasswordRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeChangePasswordRequest returns an encoder for requests sent to the password-auth change-password server.
func EncodeCheckEmailAvailableRequest ¶
func EncodeCheckEmailAvailableRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCheckEmailAvailableRequest returns an encoder for requests sent to the password-auth check-email-available server.
func EncodeCheckPhoneAvailableRequest ¶
func EncodeCheckPhoneAvailableRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCheckPhoneAvailableRequest returns an encoder for requests sent to the password-auth check-phone-available server.
func EncodeConfirmResetRequest ¶
func EncodeConfirmResetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeConfirmResetRequest returns an encoder for requests sent to the password-auth confirm-reset server.
func EncodeLoginRequest ¶
func EncodeLoginRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeLoginRequest returns an encoder for requests sent to the password-auth login server.
func EncodeRegisterRequest ¶
func EncodeRegisterRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRegisterRequest returns an encoder for requests sent to the password-auth register server.
func EncodeRemoveRequest ¶
func EncodeRemoveRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRemoveRequest returns an encoder for requests sent to the password-auth remove server.
func EncodeResetRequest ¶
func EncodeResetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeResetRequest returns an encoder for requests sent to the password-auth reset server.
func LoginPasswordAuthPath ¶
func LoginPasswordAuthPath() string
LoginPasswordAuthPath returns the URL path to the password-auth service login HTTP endpoint.
func NewLoginUserMediaOK ¶
func NewLoginUserMediaOK(body *LoginResponseBody, authorization string, xSession string) *passwordauthviews.UserMediaView
NewLoginUserMediaOK builds a "password-auth" service "login" endpoint result from a HTTP "OK" response.
func NewRegisterUserMediaOK ¶
func NewRegisterUserMediaOK(body *RegisterResponseBody, authorization string, xSession string) *passwordauthviews.UserMediaView
NewRegisterUserMediaOK builds a "password-auth" service "register" endpoint result from a HTTP "OK" response.
func RegisterPasswordAuthPath ¶
func RegisterPasswordAuthPath() string
RegisterPasswordAuthPath returns the URL path to the password-auth service register HTTP endpoint.
func RemovePasswordAuthPath ¶
func RemovePasswordAuthPath() string
RemovePasswordAuthPath returns the URL path to the password-auth service remove HTTP endpoint.
func ResetPasswordAuthPath ¶
func ResetPasswordAuthPath() string
ResetPasswordAuthPath returns the URL path to the password-auth service reset HTTP endpoint.
Types ¶
type ChangePasswordRequestBody ¶
type ChangePasswordRequestBody struct { // The old password for the current user account OldPassword *string `form:"oldPassword,omitempty" json:"oldPassword,omitempty" xml:"oldPassword,omitempty"` // The new password for the current user account NewPassword string `form:"newPassword" json:"newPassword" xml:"newPassword"` }
ChangePasswordRequestBody is the type of the "password-auth" service "change-password" endpoint HTTP request body.
func NewChangePasswordRequestBody ¶
func NewChangePasswordRequestBody(p *passwordauth.ChangePasswordParams) *ChangePasswordRequestBody
NewChangePasswordRequestBody builds the HTTP request body from the payload of the "change-password" endpoint of the "password-auth" service.
type Client ¶
type Client struct { // Register Doer is the HTTP client used to make requests to the register // endpoint. RegisterDoer goahttp.Doer // Login Doer is the HTTP client used to make requests to the login endpoint. LoginDoer goahttp.Doer // Remove Doer is the HTTP client used to make requests to the remove endpoint. RemoveDoer goahttp.Doer // ChangePassword Doer is the HTTP client used to make requests to the // change-password endpoint. ChangePasswordDoer goahttp.Doer // Reset Doer is the HTTP client used to make requests to the reset endpoint. ResetDoer goahttp.Doer // ConfirmReset Doer is the HTTP client used to make requests to the // confirm-reset endpoint. ConfirmResetDoer goahttp.Doer // CheckEmailAvailable Doer is the HTTP client used to make requests to the // check-email-available endpoint. CheckEmailAvailableDoer goahttp.Doer // CheckPhoneAvailable Doer is the HTTP client used to make requests to the // check-phone-available endpoint. CheckPhoneAvailableDoer goahttp.Doer // CORS Doer is the HTTP client used to make requests to the endpoint. CORSDoer goahttp.Doer // RestoreResponseBody controls whether the response bodies are reset after // decoding so they can be read again. RestoreResponseBody bool // contains filtered or unexported fields }
Client lists the password-auth service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the password-auth service servers.
func (*Client) BuildChangePasswordRequest ¶
func (c *Client) BuildChangePasswordRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildChangePasswordRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "change-password" endpoint
func (*Client) BuildCheckEmailAvailableRequest ¶
func (c *Client) BuildCheckEmailAvailableRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCheckEmailAvailableRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "check-email-available" endpoint
func (*Client) BuildCheckPhoneAvailableRequest ¶
func (c *Client) BuildCheckPhoneAvailableRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCheckPhoneAvailableRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "check-phone-available" endpoint
func (*Client) BuildConfirmResetRequest ¶
func (c *Client) BuildConfirmResetRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildConfirmResetRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "confirm-reset" endpoint
func (*Client) BuildLoginRequest ¶
BuildLoginRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "login" endpoint
func (*Client) BuildRegisterRequest ¶
BuildRegisterRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "register" endpoint
func (*Client) BuildRemoveRequest ¶
BuildRemoveRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "remove" endpoint
func (*Client) BuildResetRequest ¶
BuildResetRequest instantiates a HTTP request object with method and path set to call the "password-auth" service "reset" endpoint
func (*Client) ChangePassword ¶
ChangePassword returns an endpoint that makes HTTP requests to the password-auth service change-password server.
func (*Client) CheckEmailAvailable ¶
CheckEmailAvailable returns an endpoint that makes HTTP requests to the password-auth service check-email-available server.
func (*Client) CheckPhoneAvailable ¶
CheckPhoneAvailable returns an endpoint that makes HTTP requests to the password-auth service check-phone-available server.
func (*Client) ConfirmReset ¶
ConfirmReset returns an endpoint that makes HTTP requests to the password-auth service confirm-reset server.
func (*Client) Login ¶
Login returns an endpoint that makes HTTP requests to the password-auth service login server.
func (*Client) Register ¶
Register returns an endpoint that makes HTTP requests to the password-auth service register server.
type ConfirmResetRequestBody ¶
type ConfirmResetRequestBody struct { // The UUID of the password reset, send from the user's email ResetCode string `form:"resetCode" json:"resetCode" xml:"resetCode"` // The ID of the user to reset the password of UserID string `form:"userID" json:"userID" xml:"userID"` // The new password that will be used to login to the account NewPassword string `form:"newPassword" json:"newPassword" xml:"newPassword"` }
ConfirmResetRequestBody is the type of the "password-auth" service "confirm-reset" endpoint HTTP request body.
func NewConfirmResetRequestBody ¶
func NewConfirmResetRequestBody(p *passwordauth.ResetPasswordParams) *ConfirmResetRequestBody
NewConfirmResetRequestBody builds the HTTP request body from the payload of the "confirm-reset" endpoint of the "password-auth" service.
type LoginRequestBody ¶
type LoginRequestBody struct { // The email address of the account to login to Email string `form:"email" json:"email" xml:"email"` // The password of the account to login to Password string `form:"password" json:"password" xml:"password"` // 2 Factor Auth if user has enabled the feature TwoFactor *string `form:"TwoFactor,omitempty" json:"TwoFactor,omitempty" xml:"TwoFactor,omitempty"` }
LoginRequestBody is the type of the "password-auth" service "login" endpoint HTTP request body.
func NewLoginRequestBody ¶
func NewLoginRequestBody(p *passwordauth.LoginParams) *LoginRequestBody
NewLoginRequestBody builds the HTTP request body from the payload of the "login" endpoint of the "password-auth" service.
type LoginResponseBody ¶
type LoginResponseBody struct { // Unique unchanging user ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Given name for the user FirstName *string `form:"firstName,omitempty" json:"firstName,omitempty" xml:"firstName,omitempty"` // Family name for the user LastName *string `form:"lastName,omitempty" json:"lastName,omitempty" xml:"lastName,omitempty"` // Email attached to the account of the user Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` // Phone Number Of the user Phone *string `form:"phone,omitempty" json:"phone,omitempty" xml:"phone,omitempty"` // When the user attempts to change their email, this is what they will change // it to after they verify that it belongs to them ChangingEmail *string `form:"changingEmail,omitempty" json:"changingEmail,omitempty" xml:"changingEmail,omitempty"` // Whether the user has verified their email VerifiedEmail *bool `form:"verifiedEmail,omitempty" json:"verifiedEmail,omitempty" xml:"verifiedEmail,omitempty"` // Whether the user is an administrator on the site IsAdmin *bool `form:"isAdmin,omitempty" json:"isAdmin,omitempty" xml:"isAdmin,omitempty"` UpdatedAt *string `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"` IsActive *bool `form:"isActive,omitempty" json:"isActive,omitempty" xml:"isActive,omitempty"` CreatedAt *string `form:"createdAt,omitempty" json:"createdAt,omitempty" xml:"createdAt,omitempty"` CountryPhoneCode *string `form:"countryPhoneCode,omitempty" json:"countryPhoneCode,omitempty" xml:"countryPhoneCode,omitempty"` }
LoginResponseBody is the type of the "password-auth" service "login" endpoint HTTP response body.
type RegisterRequestBody ¶
type RegisterRequestBody struct { // The email that will be attached to the account Email string `form:"email" json:"email" xml:"email"` // The user's given name FirstName string `form:"firstName" json:"firstName" xml:"firstName"` // The user's family name LastName string `form:"lastName" json:"lastName" xml:"lastName"` // The password associated with the new account Password string `form:"password" json:"password" xml:"password"` // The user's phone number Phone *string `form:"phone,omitempty" json:"phone,omitempty" xml:"phone,omitempty"` // The recaptcha response code GRecaptchaResponse string `form:"gRecaptchaResponse" json:"gRecaptchaResponse" xml:"gRecaptchaResponse"` }
RegisterRequestBody is the type of the "password-auth" service "register" endpoint HTTP request body.
func NewRegisterRequestBody ¶
func NewRegisterRequestBody(p *passwordauth.RegisterParams) *RegisterRequestBody
NewRegisterRequestBody builds the HTTP request body from the payload of the "register" endpoint of the "password-auth" service.
type RegisterResponseBody ¶
type RegisterResponseBody struct { // Unique unchanging user ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Given name for the user FirstName *string `form:"firstName,omitempty" json:"firstName,omitempty" xml:"firstName,omitempty"` // Family name for the user LastName *string `form:"lastName,omitempty" json:"lastName,omitempty" xml:"lastName,omitempty"` // Email attached to the account of the user Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` // Phone Number Of the user Phone *string `form:"phone,omitempty" json:"phone,omitempty" xml:"phone,omitempty"` // When the user attempts to change their email, this is what they will change // it to after they verify that it belongs to them ChangingEmail *string `form:"changingEmail,omitempty" json:"changingEmail,omitempty" xml:"changingEmail,omitempty"` // Whether the user has verified their email VerifiedEmail *bool `form:"verifiedEmail,omitempty" json:"verifiedEmail,omitempty" xml:"verifiedEmail,omitempty"` // Whether the user is an administrator on the site IsAdmin *bool `form:"isAdmin,omitempty" json:"isAdmin,omitempty" xml:"isAdmin,omitempty"` UpdatedAt *string `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"` IsActive *bool `form:"isActive,omitempty" json:"isActive,omitempty" xml:"isActive,omitempty"` CreatedAt *string `form:"createdAt,omitempty" json:"createdAt,omitempty" xml:"createdAt,omitempty"` CountryPhoneCode *string `form:"countryPhoneCode,omitempty" json:"countryPhoneCode,omitempty" xml:"countryPhoneCode,omitempty"` }
RegisterResponseBody is the type of the "password-auth" service "register" endpoint HTTP response body.