token

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppAccessToken

type AppAccessToken struct {
	Expire         int    `json:"expire"`
	AppAccessToken string `json:"app_access_token"`
}

type ApplyAppTicketReq

type ApplyAppTicketReq struct {
	AppID     string `json:"app_id"`
	AppSecret string `json:"app_secret"`
}

type GetISVAppAccessTokenReq

type GetISVAppAccessTokenReq struct {
	AppID     string `json:"app_id"`
	AppSecret string `json:"app_secret"`
	AppTicket string `json:"app_ticket"`
}

type GetISVTenantAccessTokenReq

type GetISVTenantAccessTokenReq struct {
	AppAccessToken string `json:"app_access_token"`
	TenantKey      string `json:"tenant_key"`
}

type GetInternalAccessTokenReq

type GetInternalAccessTokenReq struct {
	AppID     string `json:"app_id"`
	AppSecret string `json:"app_secret"`
}

type TenantAccessToken

type TenantAccessToken struct {
	Expire            int    `json:"expire"`
	TenantAccessToken string `json:"tenant_access_token"`
}

type UserToken

type UserToken struct {
	Id                string
	AppID             string
	AccessToken       string
	ExpiresIn         int
	ExpireTime        time.Time
	OpenID            string
	UnionID           string
	UserID            string
	TenantKey         string
	RefreshExpiresIn  int
	RefreshExpireTime time.Time
	RefreshToken      string
	TokenType         string
	Error             string
}

Jump to

Keyboard shortcuts

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