pkg

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenRequest

type AccessTokenRequest struct {
	api.AccessTokenRequest `json:",inline"`
	GrantType              model.GrantType                   `json:"grant_type" xml:"grant_type" form:"grant_type"`
	Mytoken                universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
	RefreshToken           universalmytoken.UniversalMytoken `json:"refresh_token" xml:"refresh_token" form:"refresh_token"`
}

AccessTokenRequest holds an request for an access token

func NewAccessTokenRequest added in v0.3.0

func NewAccessTokenRequest() AccessTokenRequest

NewAccessTokenRequest returns a new AccessTokenRequest

type AccessTokenResponse

type AccessTokenResponse struct {
	// un update check api.AccessTokenResponse
	api.AccessTokenResponse
	TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"`
}

AccessTokenResponse is type for responses for access token requests

Jump to

Keyboard shortcuts

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