Documentation ¶
Overview ¶
the lraccount package contains The Account Management APIs are used to manage a user's account. These calls require the API Key and API Secret and often the User's Account UID(Unified Identifier) to perform an operation. For this reason these APIs are considered to be for back-end purposes.
Index ¶
- type Loginradius
- func (lr Loginradius) DeleteManageAccount(uid string) (*httprutils.Response, error)
- func (lr Loginradius) DeleteManageAccountEmail(uid string, body interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccessTokenUID(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountIdentitiesByEmail(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountPassword(uid string) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountProfilesByEmail(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountProfilesByPhoneID(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountProfilesByUid(uid string) (*httprutils.Response, error)
- func (lr Loginradius) GetManageAccountProfilesByUsername(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetRefreshAccessTokenByRefreshToken(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) GetRevokeRefreshToken(queries interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PostManageAccountCreate(body interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PostManageEmailVerificationToken(body interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PostManageForgotPasswordToken(body interface{}, queries ...interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PutManageAccountInvalidateVerificationEmail(uid string, queries ...interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PutManageAccountSetPassword(uid string, body interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PutManageAccountUpdate(uid string, body interface{}) (*httprutils.Response, error)
- func (lr Loginradius) PutManageAccountUpdateSecurityQuestionConfig(uid string, body interface{}) (*httprutils.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loginradius ¶
type Loginradius struct {
Client *lr.Loginradius
}
Embed Loginradius struct
func (Loginradius) DeleteManageAccount ¶
func (lr Loginradius) DeleteManageAccount(uid string) (*httprutils.Response, error)
Required template variable: uid
func (Loginradius) DeleteManageAccountEmail ¶
func (lr Loginradius) DeleteManageAccountEmail(uid string, body interface{}) (*httprutils.Response, error)
Required body parameter: email
func (Loginradius) GetManageAccessTokenUID ¶
func (lr Loginradius) GetManageAccessTokenUID(queries interface{}) (*httprutils.Response, error)
Required query params: uid
func (Loginradius) GetManageAccountIdentitiesByEmail ¶
func (lr Loginradius) GetManageAccountIdentitiesByEmail(queries interface{}) (*httprutils.Response, error)
Required query param: email - string
func (Loginradius) GetManageAccountPassword ¶
func (lr Loginradius) GetManageAccountPassword(uid string) (*httprutils.Response, error)
Required template parameter: string representing uid
func (Loginradius) GetManageAccountProfilesByEmail ¶
func (lr Loginradius) GetManageAccountProfilesByEmail(queries interface{}) (*httprutils.Response, error)
Required query parameter: email
func (Loginradius) GetManageAccountProfilesByPhoneID ¶
func (lr Loginradius) GetManageAccountProfilesByPhoneID(queries interface{}) (*httprutils.Response, error)
Required query param: phone
func (Loginradius) GetManageAccountProfilesByUid ¶
func (lr Loginradius) GetManageAccountProfilesByUid(uid string) (*httprutils.Response, error)
Required template param: uid - string representing uid
func (Loginradius) GetManageAccountProfilesByUsername ¶
func (lr Loginradius) GetManageAccountProfilesByUsername(queries interface{}) (*httprutils.Response, error)
Required query parameter: username
func (Loginradius) GetRefreshAccessTokenByRefreshToken ¶
func (lr Loginradius) GetRefreshAccessTokenByRefreshToken(queries interface{}) (*httprutils.Response, error)
func (Loginradius) GetRevokeRefreshToken ¶
func (lr Loginradius) GetRevokeRefreshToken(queries interface{}) (*httprutils.Response, error)
func (Loginradius) PostManageAccountCreate ¶
func (lr Loginradius) PostManageAccountCreate(body interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.AccountCreate as body to help ensure parameters satisfy API requirements; alternatively, []byte or map[string]string{} could also be passed as body
func (Loginradius) PostManageEmailVerificationToken ¶
func (lr Loginradius) PostManageEmailVerificationToken(body interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.EmailForVToken as body to help ensure parameters satisfy API requirements; alternatively, []byte or map[string]string{} could also be passed as body
func (Loginradius) PostManageForgotPasswordToken ¶
func (lr Loginradius) PostManageForgotPasswordToken(body interface{}, queries ...interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.Username or lrbody.Email as body to help ensure parameters satisfy API requirements; alternatively, []byte or map[string]string{} could also be passed as body
func (Loginradius) PutManageAccountInvalidateVerificationEmail ¶
func (lr Loginradius) PutManageAccountInvalidateVerificationEmail(uid string, queries ...interface{}) (*httprutils.Response, error)
Optional query params: verificationurl, emailtemplate
func (Loginradius) PutManageAccountSetPassword ¶
func (lr Loginradius) PutManageAccountSetPassword(uid string, body interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.AccountPassword as body to help ensure parameters satisfy API requirements; alternatively, []byte could also be passed as body
func (Loginradius) PutManageAccountUpdate ¶
func (lr Loginradius) PutManageAccountUpdate(uid string, body interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.UpdateProfile as body to help ensure parameters satisfy API requirements; alternatively, []byte could also be passed as body
func (Loginradius) PutManageAccountUpdateSecurityQuestionConfig ¶
func (lr Loginradius) PutManageAccountUpdateSecurityQuestionConfig(uid string, body interface{}) (*httprutils.Response, error)
Pass data in struct lrbody.AccountSecurityQuestion as body to help ensure parameters satisfy API requirements; alternatively, []byte could also be passed as body