Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
kapi.TypeMeta `json:",inline"`
kapi.ObjectMeta `json:"metadata,omitempty"`
// ClientName references the client that created this token.
ClientName string `json:"clientName,omitempty"`
// ExpiresIn is the seconds from CreationTime before this token expires.
ExpiresIn int64 `json:"expiresIn,omitempty"`
// Scopes is an array of the requested scopes.
Scopes []string `json:"scopes,omitempty"`
// RedirectURI is the redirection associated with the token.
RedirectURI string `json:"redirectURI,omitempty"`
// UserName is the user name associated with this token
UserName string `json:"userName,omitempty"`
// UserUID is the unique UID associated with this token
UserUID string `json:"userUID,omitempty"`
// AuthorizeToken contains the token that authorized this token
AuthorizeToken string `json:"authorizeToken,omitempty"`
// RefreshToken is the value by which this token can be renewed. Can be blank.
RefreshToken string `json:"refreshToken,omitempty"`
}
func (*AccessToken) IsAnAPIObject ¶
func (*AccessToken) IsAnAPIObject()
type AccessTokenList ¶
type AccessTokenList struct {
kapi.TypeMeta `json:",inline"`
kapi.ListMeta `json:"metadata,omitempty"`
Items []AccessToken `json:"items"`
}
func (*AccessTokenList) IsAnAPIObject ¶
func (*AccessTokenList) IsAnAPIObject()
type AuthorizeToken ¶
type AuthorizeToken struct {
kapi.TypeMeta `json:",inline"`
kapi.ObjectMeta `json:"metadata,omitempty"`
// ClientName references the client that created this token.
ClientName string `json:"clientName,omitempty"`
// ExpiresIn is the seconds from CreationTime before this token expires.
ExpiresIn int64 `json:"expiresIn,omitempty"`
// Scopes is an array of the requested scopes.
Scopes []string `json:"scopes,omitempty"`
// RedirectURI is the redirection associated with the token.
RedirectURI string `json:"redirectURI,omitempty"`
// State data from request
State string `json:"state,omitempty"`
// UserName is the user name associated with this token
UserName string `json:"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"`
}
func (*AuthorizeToken) IsAnAPIObject ¶
func (*AuthorizeToken) IsAnAPIObject()
type AuthorizeTokenList ¶
type AuthorizeTokenList struct {
kapi.TypeMeta `json:",inline"`
kapi.ListMeta `json:"metadata,omitempty"`
Items []AuthorizeToken `json:"items,"`
}
func (*AuthorizeTokenList) IsAnAPIObject ¶
func (*AuthorizeTokenList) IsAnAPIObject()
type Client ¶
type Client struct {
kapi.TypeMeta `json:",inline"`
kapi.ObjectMeta `json:"metadata,omitempty"`
// Secret is the unique secret associated with a client
Secret string `json:"secret,omitempty"`
// RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects
RespondWithChallenges bool `json:"respondWithChallenges,omitempty"`
// RedirectURIs is the valid redirection URIs associated with a client
RedirectURIs []string `json:"redirectURIs,omitempty"`
}
func (*Client) IsAnAPIObject ¶
func (*Client) IsAnAPIObject()
type ClientAuthorization ¶
type ClientAuthorization struct {
kapi.TypeMeta `json:",inline"`
kapi.ObjectMeta `json:"metadata,omitempty"`
// ClientName references the client that created this authorization
ClientName string `json:"clientName,omitempty"`
// UserName is the user name that authorized this client
UserName string `json:"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"`
// Scopes is an array of the granted scopes.
Scopes []string `json:"scopes,omitempty"`
}
func (*ClientAuthorization) IsAnAPIObject ¶
func (*ClientAuthorization) IsAnAPIObject()
type ClientAuthorizationList ¶
type ClientAuthorizationList struct {
kapi.TypeMeta `json:",inline"`
kapi.ListMeta `json:"metadata,omitempty"`
Items []ClientAuthorization `json:"items"`
}
func (*ClientAuthorizationList) IsAnAPIObject ¶
func (*ClientAuthorizationList) IsAnAPIObject()
type ClientList ¶
type ClientList struct {
kapi.TypeMeta `json:",inline"`
kapi.ListMeta `json:"metadata,omitempty"`
Items []Client `json:"items"`
}
func (*ClientList) IsAnAPIObject ¶
func (*ClientList) IsAnAPIObject()
Directories
¶
| Path | Synopsis |
|---|---|
|
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid.
|
Package validation has functions for validating the correctness of api objects and explaining what is wrong with them when they aren't valid. |
Click to show internal directories.
Click to hide internal directories.