Documentation ¶
Index ¶
- type Authorization
- type AuthorizationInfo
- type AuthorizerInfo
- type BasicConfig
- type BusinessInfo
- type Category
- type ConfirmInfo
- type FuncInfo
- type FuncScopeCategory
- type MiniProgramInfo
- type Network
- type ResponseCreatePreAuthorizationCode
- type ResponseGetAuthorizer
- type ResponseGetAuthorizerOption
- type ResponseGetAuthorizers
- type ResponseHandleAuthorize
- type ServiceTypeInfo
- type VerifyTypeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶ added in v3.0.6
type AuthorizationInfo ¶
type AuthorizerInfo ¶
type AuthorizerInfo struct { NickName string `json:"nick_name"` HeadImg string `json:"head_img"` ServiceTypeInfo *ServiceTypeInfo `json:"service_type_info"` VerifyTypeInfo *VerifyTypeInfo `json:"verify_type_info"` UserName string `json:"user_name"` PrincipalName string `json:"principal_name"` BusinessInfo *BusinessInfo `json:"business_info"` Alias string `json:"alias"` QrcodeURL string `json:"qrcode_url"` AccountStatus int `json:"account_status"` // used for MiniProgram Idc int `json:"idc"` Signature string `json:"signature"` MiniProgramInfo *MiniProgramInfo `json:"MiniProgramInfo"` RegisterType int `json:"register_type"` BasicConfig BasicConfig `json:"basic_config"` }
type BasicConfig ¶
type BusinessInfo ¶
type ConfirmInfo ¶
type FuncInfo ¶
type FuncInfo struct { FuncScopeCategory *FuncScopeCategory `json:"funcscope_category"` ConfirmInfo *ConfirmInfo `json:"confirm_info,omitempty"` }
type FuncScopeCategory ¶
type FuncScopeCategory struct {
ID int `json:"id"`
}
type MiniProgramInfo ¶
type Network ¶
type Network struct { RequestDomain []string `json:"RequestDomain"` WsRequestDomain []string `json:"WsRequestDomain"` UploadDomain []string `json:"UploadDomain"` DownloadDomain []string `json:"DownloadDomain"` BizDomain []string `json:"BizDomain"` UDPDomain []string `json:"UDPDomain"` TCPDomain []string `json:"TCPDomain"` PrefetchDNSDomain []string `json:"PrefetchDNSDomain"` NewRequestDomain []string `json:"NewRequestDomain"` NewWsRequestDomain []string `json:"NewWsRequestDomain"` NewUploadDomain []string `json:"NewUploadDomain"` NewDownloadDomain []string `json:"NewDownloadDomain"` NewBizDomain []string `json:"NewBizDomain"` NewUDPDomain []string `json:"NewUDPDomain"` NewTCPDomain []string `json:"NewTCPDomain"` NewPrefetchDNSDomain []string `json:"NewPrefetchDNSDomain"` }
type ResponseCreatePreAuthorizationCode ¶
type ResponseCreatePreAuthorizationCode struct { response.ResponseOpenPlatform PreAuthCode string `json:"pre_auth_code"` ExpiresIn int `json:"expires_in"` }
type ResponseGetAuthorizer ¶
type ResponseGetAuthorizer struct { response.ResponseOpenPlatform AuthorizerInfo *AuthorizerInfo `json:"authorizer_info"` AuthorizationInfo *AuthorizationInfo `json:"authorization_info"` }
type ResponseGetAuthorizerOption ¶
type ResponseGetAuthorizerOption struct { response.ResponseOpenPlatform AuthorizerAppid string `json:"authorizer_appid"` OptionName string `json:"option_name"` OptionValue string `json:"option_value"` }
type ResponseGetAuthorizers ¶ added in v3.0.6
type ResponseGetAuthorizers struct { TotalCount int `json:"total_count"` List []*Authorization `json:"list"` }
type ResponseHandleAuthorize ¶
type ResponseHandleAuthorize struct { response.ResponseOpenPlatform AuthorizationInfo *AuthorizationInfo `json:"authorization_info"` }
type ServiceTypeInfo ¶
type ServiceTypeInfo struct {
ID int `json:"id"`
}
type VerifyTypeInfo ¶
type VerifyTypeInfo struct {
ID int `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.