package
0.0.3
Repository: https://github.com/spark-comm/spark-api.git
Documentation: pkg.go.dev

# Functions

身份认证接口调用失败.
手机号错误.
邮箱格式不正确.
获取平台节点错误.
获取服务节点错误.
身份证号已被其他账号绑定.
身份核验不一致.
输入手机号与当前绑定手机号码不一致.
邮箱绑定失败.
无可用的节点信息.
密码为空.
手机号绑定失败.
手机号错误.
实名认证失败.
生产授权码失败.
验证码错误.
验证码类型错误.
token生成失败.
登录失败,用户状态异常.
用户名或者密码错误.
为某个枚举单独设置错误码.
系统错误.
token 作废失败.
token过期.
token 刷新失败.
token 验证失败.
token验证失败.
验证码错误.
注册账号失败.
发送验证码失败.
同步用户信息失败.
邮箱已被绑定.
推广码无效.
不支持的平台.
不支持的验证方式.
更新密码失败.
用户禁用.
用户已经实名认证过.
用户不存在.
用户未加入节点.
验证码已过期.
身份认证接口调用失败.
手机号错误.
邮箱格式不正确.
获取平台节点错误.
获取服务节点错误.
身份证号已被其他账号绑定.
身份核验不一致.
输入手机号与当前绑定手机号码不一致.
邮箱绑定失败.
无可用的节点信息.
密码为空.
手机号绑定失败.
手机号错误.
实名认证失败.
生产授权码失败.
验证码错误.
验证码类型错误.
token生成失败.
登录失败,用户状态异常.
用户名或者密码错误.
为某个枚举单独设置错误码.
系统错误.
token 作废失败.
token过期.
token 刷新失败.
token 验证失败.
token验证失败.
验证码错误.
注册账号失败.
发送验证码失败.
同步用户信息失败.
邮箱已被绑定.
推广码无效.
不支持的平台.
不支持的验证方式.
更新密码失败.
用户禁用.
用户已经实名认证过.
用户不存在.
用户未加入节点.
验证码已过期.
No description provided by the author
No description provided by the author

# Constants

邮箱+验证码.
邮箱+密码.
手机号+验证码.
手机号+密码.
用户名+密码.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
授权码.
token.
邮箱验证码.
手机验证码.
身份认证接口调用失败.
手机号错误.
邮箱格式不正确.
获取平台节点错误.
获取服务节点错误.
身份证号已被其他账号绑定.
身份核验不一致.
输入手机号与当前绑定手机号码不一致.
邮箱绑定失败.
无可用的节点信息.
密码为空.
手机号绑定失败.
手机号错误.
实名认证失败.
生产授权码失败.
验证码错误.
验证码类型错误.
token生成失败.
登录失败,用户状态异常.
用户名或者密码错误.
参数错误.
系统错误.
token 作废失败.
token过期.
token 刷新失败.
token 验证失败.
token验证失败.
REASON.
注册账号失败.
发送验证码失败.
同步用户信息失败.
邮箱已被绑定.
推广码无效.
不支持的平台.
不支持的验证方式.
更新密码失败.
用户禁用.
用户已经实名认证过.
用户不存在.
用户未加入节点.
验证码已过期.
邮箱.
手机号.
用户名.

# Variables

Enum value maps for AccountType.
Enum value maps for AccountType.
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service.
Enum value maps for AuthorizeType.
Enum value maps for AuthorizeType.
Enum value maps for CodeType.
Enum value maps for CodeType.
Enum value maps for ErrorReason.
Enum value maps for ErrorReason.
No description provided by the author
No description provided by the author
Enum value maps for RegisterType.
Enum value maps for RegisterType.

# Structs

授权 token.
AuthTokenValidationError is the validation error returned by AuthToken.Validate if the designated constraints aren't met.
No description provided by the author
BindingReplyValidationError is the validation error returned by BindingReply.Validate if the designated constraints aren't met.
绑定 -------------------------------------------.
BindingReqValidationError is the validation error returned by BindingReq.Validate if the designated constraints aren't met.
No description provided by the author
DestructionTokenReplyValidationError is the validation error returned by DestructionTokenReply.Validate if the designated constraints aren't met.
销毁token.
DestructionTokenReqValidationError is the validation error returned by DestructionTokenReq.Validate if the designated constraints aren't met.
No description provided by the author
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
账号登录.
LoginReqValidationError is the validation error returned by LoginReq.Validate if the designated constraints aren't met.
No description provided by the author
RealNameAuthReplyValidationError is the validation error returned by RealNameAuthReply.Validate if the designated constraints aren't met.
RealNameAuthReq 实名认证.
RealNameAuthReqValidationError is the validation error returned by RealNameAuthReq.Validate if the designated constraints aren't met.
No description provided by the author
RefTokenReplyValidationError is the validation error returned by RefTokenReply.Validate if the designated constraints aren't met.
token 刷新.
RefTokenReqValidationError is the validation error returned by RefTokenReq.Validate if the designated constraints aren't met.
No description provided by the author
RegisterReplyValidationError is the validation error returned by RegisterReply.Validate if the designated constraints aren't met.
账号注册.
RegisterReqValidationError is the validation error returned by RegisterReq.Validate if the designated constraints aren't met.
No description provided by the author
SendCodeReplyValidationError is the validation error returned by SendCodeReply.Validate if the designated constraints aren't met.
发送验证码.
SendCodeReqValidationError is the validation error returned by SendCodeReq.Validate if the designated constraints aren't met.
No description provided by the author
SSOLoginReplyValidationError is the validation error returned by SSOLoginReply.Validate if the designated constraints aren't met.
单点登录 -------------------------------------------.
SSOLoginReqValidationError is the validation error returned by SSOLoginReq.Validate if the designated constraints aren't met.
UnimplementedAuthServer must be embedded to have forward compatible implementations.
No description provided by the author
UpdatePasswordReplyValidationError is the validation error returned by UpdatePasswordReply.Validate if the designated constraints aren't met.
修改密码.
UpdatePasswordReqValidationError is the validation error returned by UpdatePasswordReq.Validate if the designated constraints aren't met.
No description provided by the author
VerifyCodeReplyValidationError is the validation error returned by VerifyCodeReply.Validate if the designated constraints aren't met.
验证code.
VerifyCodeReqValidationError is the validation error returned by VerifyCodeReq.Validate if the designated constraints aren't met.
No description provided by the author
VerifyTokenReplyValidationError is the validation error returned by VerifyTokenReply.Validate if the designated constraints aren't met.
token 验证.
VerifyTokenReqValidationError is the validation error returned by VerifyTokenReq.Validate if the designated constraints aren't met.

# Interfaces

AuthClient is the client API for Auth service.
AuthServer is the server API for Auth service.
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
认证类型.
AuthTokenMultiError is an error wrapping multiple validation errors returned by AuthToken.ValidateAll() if the designated constraints aren't met.
BindingReplyMultiError is an error wrapping multiple validation errors returned by BindingReply.ValidateAll() if the designated constraints aren't met.
BindingReqMultiError is an error wrapping multiple validation errors returned by BindingReq.ValidateAll() if the designated constraints aren't met.
验证码类型.
DestructionTokenReplyMultiError is an error wrapping multiple validation errors returned by DestructionTokenReply.ValidateAll() if the designated constraints aren't met.
DestructionTokenReqMultiError is an error wrapping multiple validation errors returned by DestructionTokenReq.ValidateAll() if the designated constraints aren't met.
错误.
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
LoginReqMultiError is an error wrapping multiple validation errors returned by LoginReq.ValidateAll() if the designated constraints aren't met.
RealNameAuthReplyMultiError is an error wrapping multiple validation errors returned by RealNameAuthReply.ValidateAll() if the designated constraints aren't met.
RealNameAuthReqMultiError is an error wrapping multiple validation errors returned by RealNameAuthReq.ValidateAll() if the designated constraints aren't met.
RefTokenReplyMultiError is an error wrapping multiple validation errors returned by RefTokenReply.ValidateAll() if the designated constraints aren't met.
RefTokenReqMultiError is an error wrapping multiple validation errors returned by RefTokenReq.ValidateAll() if the designated constraints aren't met.
RegisterReplyMultiError is an error wrapping multiple validation errors returned by RegisterReply.ValidateAll() if the designated constraints aren't met.
RegisterReqMultiError is an error wrapping multiple validation errors returned by RegisterReq.ValidateAll() if the designated constraints aren't met.
注册/登录 的账号类型.
SendCodeReplyMultiError is an error wrapping multiple validation errors returned by SendCodeReply.ValidateAll() if the designated constraints aren't met.
SendCodeReqMultiError is an error wrapping multiple validation errors returned by SendCodeReq.ValidateAll() if the designated constraints aren't met.
SSOLoginReplyMultiError is an error wrapping multiple validation errors returned by SSOLoginReply.ValidateAll() if the designated constraints aren't met.
SSOLoginReqMultiError is an error wrapping multiple validation errors returned by SSOLoginReq.ValidateAll() if the designated constraints aren't met.
UpdatePasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReply.ValidateAll() if the designated constraints aren't met.
UpdatePasswordReqMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReq.ValidateAll() if the designated constraints aren't met.
VerifyCodeReplyMultiError is an error wrapping multiple validation errors returned by VerifyCodeReply.ValidateAll() if the designated constraints aren't met.
VerifyCodeReqMultiError is an error wrapping multiple validation errors returned by VerifyCodeReq.ValidateAll() if the designated constraints aren't met.
VerifyTokenReplyMultiError is an error wrapping multiple validation errors returned by VerifyTokenReply.ValidateAll() if the designated constraints aren't met.
VerifyTokenReqMultiError is an error wrapping multiple validation errors returned by VerifyTokenReq.ValidateAll() if the designated constraints aren't met.