v1

package
v1.1.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by lark suite oapi sdk gen

Code generated by lark suite oapi sdk gen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authen added in v1.1.24

type Authen struct {
}

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

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

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

func NewService(conf *config.Config) *Service

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

func (s *UserInfo) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL