Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthAuthorizationCode ¶
type OAuthAuthorizationCode struct { ID manifold.ID `json:"id"` StructType string `json:"type"` StructVersion int `json:"version"` Body OAuthAuthorizationCodeBody `json:"body"` }
OAuthAuthorizationCode represents a short-term code used by a provider to create an Access Token scoped to a User and Resource
func (*OAuthAuthorizationCode) GetID ¶
func (a *OAuthAuthorizationCode) GetID() manifold.ID
GetID returns the current Identifier for this object
func (*OAuthAuthorizationCode) Mutable ¶
func (a *OAuthAuthorizationCode) Mutable()
Mutable represents the fact that this is a Mutable struct
func (*OAuthAuthorizationCode) Type ¶
func (a *OAuthAuthorizationCode) Type() idtype.Type
Type returns the OAuthAuthorizationCode idtype
func (*OAuthAuthorizationCode) Version ¶
func (a *OAuthAuthorizationCode) Version() int
Version returns the current struct version for this object
type OAuthAuthorizationCodeBody ¶
type OAuthAuthorizationCodeBody struct { UserID manifold.ID `json:"user_id"` TeamID *manifold.ID `json:"team_id,omitempty"` InboundResourceID manifold.ID `json:"resource_id"` CreatedAt time.Time `json:"created_at"` ExpiresAt time.Time `json:"expires_at"` RedirectURI string `json:"redirect_uri,omitempty"` Code string `json:"code"` }
OAuthAuthorizationCodeBody represents the contents of an Authorization Code
Click to show internal directories.
Click to hide internal directories.