v1beta1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Labels       map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`

	// Name is the unique value for an access token - also known as its secret
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// AuthorizeToken is the authorization token that granted this access token, and contains
	// the specific state of the token.
	AuthorizeToken AuthorizeToken `json:"authorizeToken,omitempty" yaml:"authorizeToken,omitempty"`

	// RefreshToken is the value by which this token can be renewed. Can be blank.
	RefreshToken string `json:"refreshToken,omitempty" yaml:"refreshToken,omitempty"`
}

func (*AccessToken) IsAnAPIObject

func (*AccessToken) IsAnAPIObject()

type AccessTokenList

type AccessTokenList struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Items        []AccessToken `json:"items,omitempty" yaml:"items,omitempty"`
}

func (*AccessTokenList) IsAnAPIObject

func (*AccessTokenList) IsAnAPIObject()

type AuthorizeToken

type AuthorizeToken struct {
	api.TypeMeta `json:",inline" yaml:",inline"`

	// Name is the unique value for an authorization token - also known as its secret
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// ClientName references the client that created this token.
	ClientName string `json:"clientName,omitempty" yaml:"clientName,omitempty"`

	// ExpiresIn is the seconds from CreationTime before this token expires.
	ExpiresIn int64 `json:"expiresIn,omitempty" yaml:"expiresIn,omitempty"`

	// Scopes is an array of the requested scopes.
	Scopes []string `json:"scopes,omitempty" yaml:"scopes,omitempty"`

	// RedirectURI is the redirection associated with the token.
	RedirectURI string `json:"redirectURI,omitempty" yaml:"redirectURI,omitempty"`

	// State data from request
	State string `json:"state,omitempty" yaml:"state,omitempty"`

	// UserName is the user name associated with this token
	UserName string `json:"userName,omitempty" yaml:"userName,omitempty"`

	// UserUID is the unique UID associated with this token. UserUID and UserName must both match
	// for this token to be valid.
	UserUID string `json:"userUID,omitempty" yaml:"userUID,omitempty"`
}

func (*AuthorizeToken) IsAnAPIObject

func (*AuthorizeToken) IsAnAPIObject()

type AuthorizeTokenList

type AuthorizeTokenList struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Items        []AuthorizeToken `json:"items,omitempty" yaml:"items,omitempty"`
}

func (*AuthorizeTokenList) IsAnAPIObject

func (*AuthorizeTokenList) IsAnAPIObject()

type Client

type Client struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Labels       map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`

	// Name is the unique identifier of the client
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// Secret is the unique secret associated with a client
	Secret string `json:"secret,omitempty" yaml:"secret,omitempty"`

	// RedirectURIs is the valid redirection URIs associated with a client
	RedirectURIs []string `json:"redirectURIs,omitempty" yaml:"redirectURIs,omitempty"`
}

func (*Client) IsAnAPIObject

func (*Client) IsAnAPIObject()

type ClientAuthorization

type ClientAuthorization struct {
	api.TypeMeta `json:",inline" yaml:",inline"`

	// ClientName references the client that created this authorization
	ClientName string `json:"clientName,omitempty" yaml:"clientName,omitempty"`

	// UserName is the user name that authorized this client
	UserName string `json:"userName,omitempty" yaml:"userName,omitempty"`

	// UserUID is the unique UID associated with this authorization. UserUID and UserName
	// must both match for this authorization to be valid.
	UserUID string `json:"userUID,omitempty" yaml:"userUID,omitempty"`

	// Scopes is an array of the granted scopes.
	Scopes []string `json:"scopes,omitempty" yaml:"scopes,omitempty"`
}

func (*ClientAuthorization) IsAnAPIObject

func (*ClientAuthorization) IsAnAPIObject()

type ClientAuthorizationList

type ClientAuthorizationList struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Items        []ClientAuthorization `json:"items,omitempty" yaml:"items,omitempty"`
}

func (*ClientAuthorizationList) IsAnAPIObject

func (*ClientAuthorizationList) IsAnAPIObject()

type ClientList

type ClientList struct {
	api.TypeMeta `json:",inline" yaml:",inline"`
	Items        []Client `json:"items,omitempty" yaml:"items,omitempty"`
}

func (*ClientList) IsAnAPIObject

func (*ClientList) IsAnAPIObject()

Jump to

Keyboard shortcuts

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