Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen
Index ¶
- type AuthenAccessTokenReqBody
- type AuthenAccessTokenReqCall
- type AuthenRefreshAccessTokenReqBody
- type AuthenRefreshAccessTokenReqCall
- type AuthenService
- func (authens *AuthenService) AccessToken(ctx *core.Context, body *AuthenAccessTokenReqBody, optFns ...request.OptFn) *AuthenAccessTokenReqCall
- func (authens *AuthenService) RefreshAccessToken(ctx *core.Context, body *AuthenRefreshAccessTokenReqBody, ...) *AuthenRefreshAccessTokenReqCall
- func (authens *AuthenService) UserInfo(ctx *core.Context, optFns ...request.OptFn) *AuthenUserInfoReqCall
- type AuthenUserInfoReqCall
- type Service
- type UserAccessTokenInfo
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenAccessTokenReqBody ¶ added in v1.1.6
type AuthenAccessTokenReqBody struct { GrantType string `json:"grant_type,omitempty"` Code string `json:"code,omitempty"` ForceSendFields []string `json:"-"` }
func (*AuthenAccessTokenReqBody) MarshalJSON ¶ added in v1.1.24
func (s *AuthenAccessTokenReqBody) MarshalJSON() ([]byte, error)
type AuthenAccessTokenReqCall ¶ added in v1.1.6
type AuthenAccessTokenReqCall struct {
// contains filtered or unexported fields
}
func (*AuthenAccessTokenReqCall) Do ¶ added in v1.1.6
func (rc *AuthenAccessTokenReqCall) Do() (*UserAccessTokenInfo, error)
type AuthenRefreshAccessTokenReqBody ¶ added in v1.1.6
type AuthenRefreshAccessTokenReqBody struct { GrantType string `json:"grant_type,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` ForceSendFields []string `json:"-"` }
func (*AuthenRefreshAccessTokenReqBody) MarshalJSON ¶ added in v1.1.24
func (s *AuthenRefreshAccessTokenReqBody) MarshalJSON() ([]byte, error)
type AuthenRefreshAccessTokenReqCall ¶ added in v1.1.6
type AuthenRefreshAccessTokenReqCall struct {
// contains filtered or unexported fields
}
func (*AuthenRefreshAccessTokenReqCall) Do ¶ added in v1.1.6
func (rc *AuthenRefreshAccessTokenReqCall) Do() (*UserAccessTokenInfo, error)
type AuthenService ¶
type AuthenService struct {
// contains filtered or unexported fields
}
func (*AuthenService) AccessToken ¶
func (authens *AuthenService) AccessToken(ctx *core.Context, body *AuthenAccessTokenReqBody, optFns ...request.OptFn) *AuthenAccessTokenReqCall
func (*AuthenService) RefreshAccessToken ¶
func (authens *AuthenService) RefreshAccessToken(ctx *core.Context, body *AuthenRefreshAccessTokenReqBody, optFns ...request.OptFn) *AuthenRefreshAccessTokenReqCall
func (*AuthenService) UserInfo ¶
func (authens *AuthenService) UserInfo(ctx *core.Context, optFns ...request.OptFn) *AuthenUserInfoReqCall
type AuthenUserInfoReqCall ¶ added in v1.1.6
type AuthenUserInfoReqCall struct {
// contains filtered or unexported fields
}
func (*AuthenUserInfoReqCall) Do ¶ added in v1.1.6
func (rc *AuthenUserInfoReqCall) Do() (*UserInfo, error)
type Service ¶
type Service struct { Authens *AuthenService // contains filtered or unexported fields }
func NewService ¶
type UserAccessTokenInfo ¶ added in v1.1.6
type UserAccessTokenInfo struct { AccessToken string `json:"access_token,omitempty"` TokenType string `json:"token_type,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` Name string `json:"name,omitempty"` EnName string `json:"en_name,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` AvatarThumb string `json:"avatar_thumb,omitempty"` AvatarMiddle string `json:"avatar_middle,omitempty"` AvatarBig string `json:"avatar_big,omitempty"` OpenId string `json:"open_id,omitempty"` UnionId string `json:"union_id,omitempty"` Email string `json:"email,omitempty"` UserId string `json:"user_id,omitempty"` Mobile string `json:"mobile,omitempty"` TenantKey string `json:"tenant_key,omitempty"` RefreshExpiresIn int `json:"refresh_expires_in,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` ForceSendFields []string `json:"-"` }
func (*UserAccessTokenInfo) MarshalJSON ¶ added in v1.1.24
func (s *UserAccessTokenInfo) MarshalJSON() ([]byte, error)
type UserInfo ¶ added in v1.1.6
type UserInfo struct { Name string `json:"name,omitempty"` EnName string `json:"en_name,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` AvatarThumb string `json:"avatar_thumb,omitempty"` AvatarMiddle string `json:"avatar_middle,omitempty"` AvatarBig string `json:"avatar_big,omitempty"` OpenId string `json:"open_id,omitempty"` UnionId string `json:"union_id,omitempty"` Email string `json:"email,omitempty"` UserId string `json:"user_id,omitempty"` Mobile string `json:"mobile,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*UserInfo) MarshalJSON ¶ added in v1.1.24
Click to show internal directories.
Click to hide internal directories.