Documentation ¶
Index ¶
- func OAuthAccessTokenToSelectableFields(obj *OAuthAccessToken) fields.Set
- func OAuthAuthorizeTokenToSelectableFields(obj *OAuthAuthorizeToken) fields.Set
- func OAuthClientAuthorizationToSelectableFields(obj *OAuthClientAuthorization) fields.Set
- func OAuthClientToSelectableFields(obj *OAuthClient) fields.Set
- type OAuthAccessToken
- type OAuthAccessTokenList
- type OAuthAuthorizeToken
- type OAuthAuthorizeTokenList
- type OAuthClient
- type OAuthClientAuthorization
- type OAuthClientAuthorizationList
- type OAuthClientList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OAuthAccessTokenToSelectableFields ¶ added in v1.0.8
func OAuthAccessTokenToSelectableFields(obj *OAuthAccessToken) fields.Set
OAuthAccessTokenToSelectableFields returns a label set that represents the object
func OAuthAuthorizeTokenToSelectableFields ¶ added in v1.0.8
func OAuthAuthorizeTokenToSelectableFields(obj *OAuthAuthorizeToken) fields.Set
OAuthAuthorizeTokenToSelectableFields returns a label set that represents the object
func OAuthClientAuthorizationToSelectableFields ¶ added in v1.0.8
func OAuthClientAuthorizationToSelectableFields(obj *OAuthClientAuthorization) fields.Set
OAuthClientAuthorizationToSelectableFields returns a label set that represents the object
func OAuthClientToSelectableFields ¶ added in v1.0.8
func OAuthClientToSelectableFields(obj *OAuthClient) fields.Set
OAuthClientToSelectableFields returns a label set that represents the object
Types ¶
type OAuthAccessToken ¶ added in v0.2.2
type OAuthAccessToken struct { unversioned.TypeMeta kapi.ObjectMeta // ClientName references the client that created this token. ClientName string // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 // Scopes is an array of the requested scopes. Scopes []string // RedirectURI is the redirection associated with the token. RedirectURI string // UserName is the user name associated with this token UserName string // UserUID is the unique UID associated with this token UserUID string // AuthorizeToken contains the token that authorized this token AuthorizeToken string // RefreshToken is the value by which this token can be renewed. Can be blank. RefreshToken string }
func (*OAuthAccessToken) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthAccessToken) IsAnAPIObject()
type OAuthAccessTokenList ¶ added in v0.2.2
type OAuthAccessTokenList struct { unversioned.TypeMeta unversioned.ListMeta Items []OAuthAccessToken }
func (*OAuthAccessTokenList) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthAccessTokenList) IsAnAPIObject()
type OAuthAuthorizeToken ¶ added in v0.2.2
type OAuthAuthorizeToken struct { unversioned.TypeMeta kapi.ObjectMeta // ClientName references the client that created this token. ClientName string // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 // Scopes is an array of the requested scopes. Scopes []string // RedirectURI is the redirection associated with the token. RedirectURI string // State data from request State string // UserName is the user name associated with this token UserName string // UserUID is the unique UID associated with this token. UserUID and UserName must both match // for this token to be valid. UserUID string }
func (*OAuthAuthorizeToken) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthAuthorizeToken) IsAnAPIObject()
type OAuthAuthorizeTokenList ¶ added in v0.2.2
type OAuthAuthorizeTokenList struct { unversioned.TypeMeta unversioned.ListMeta Items []OAuthAuthorizeToken }
func (*OAuthAuthorizeTokenList) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthAuthorizeTokenList) IsAnAPIObject()
type OAuthClient ¶ added in v0.2.2
type OAuthClient struct { unversioned.TypeMeta kapi.ObjectMeta // Secret is the unique secret associated with a client Secret string // RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects RespondWithChallenges bool // RedirectURIs is the valid redirection URIs associated with a client RedirectURIs []string }
func (*OAuthClient) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthClient) IsAnAPIObject()
type OAuthClientAuthorization ¶ added in v0.2.2
type OAuthClientAuthorization struct { unversioned.TypeMeta kapi.ObjectMeta // ClientName references the client that created this authorization ClientName string // UserName is the user name that authorized this client UserName string // UserUID is the unique UID associated with this authorization. UserUID and UserName // must both match for this authorization to be valid. UserUID string // Scopes is an array of the granted scopes. Scopes []string }
func (*OAuthClientAuthorization) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthClientAuthorization) IsAnAPIObject()
type OAuthClientAuthorizationList ¶ added in v0.2.2
type OAuthClientAuthorizationList struct { unversioned.TypeMeta unversioned.ListMeta Items []OAuthClientAuthorization }
func (*OAuthClientAuthorizationList) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthClientAuthorizationList) IsAnAPIObject()
type OAuthClientList ¶ added in v0.2.2
type OAuthClientList struct { unversioned.TypeMeta unversioned.ListMeta Items []OAuthClient }
func (*OAuthClientList) IsAnAPIObject ¶ added in v0.2.2
func (*OAuthClientList) 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.