pkg

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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 GrantTypeInfoResponse

type GrantTypeInfoResponse struct {
	api.GrantTypeInfoResponse
	TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"`
}

GrantTypeInfoResponse is a type for the response for listing grant types

func (*GrantTypeInfoResponse) SetTokenUpdate

func (res *GrantTypeInfoResponse) SetTokenUpdate(tokenUpdate *my.MytokenResponse)

SetTokenUpdate implements the pkg.TokenUpdatableResponse interface

type GrantTypeRequest

type GrantTypeRequest struct {
	api.GrantTypeRequest
	GrantType model.GrantType                   `json:"grant_type" xml:"grant_type" form:"grant_type"`
	Mytoken   universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"`
}

GrantTypeRequest is a type for a enable/disable grant type request

Jump to

Keyboard shortcuts

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