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
Click to show internal directories.
Click to hide internal directories.