token_refresh_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenRefreshParam

type TokenRefreshParam struct {
	// 用于刷新access_token的刷新令牌;有效期:14 天;
	RefreshToken string `json:"refresh_token"`
	// 授权类型;请传入默认值:refresh_token
	GrantType string `json:"grant_type"`
}

type TokenRefreshRequest

type TokenRefreshRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *TokenRefreshParam
}

func New

func New() *TokenRefreshRequest

func (*TokenRefreshRequest) Execute

func (c *TokenRefreshRequest) Execute(accessToken *doudian_sdk.AccessToken) (*token_refresh_response.TokenRefreshResponse, error)

func (*TokenRefreshRequest) GetParamObject

func (c *TokenRefreshRequest) GetParamObject() interface{}

func (*TokenRefreshRequest) GetParams

func (c *TokenRefreshRequest) GetParams() *TokenRefreshParam

func (*TokenRefreshRequest) GetUrlPath

func (c *TokenRefreshRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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