v1

package
v3.6.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+groupName=oauth.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/oauth/api/v1/generated.proto

It has these top-level messages:
	ClusterRoleScopeRestriction
	OAuthAccessToken
	OAuthAccessTokenList
	OAuthAuthorizeToken
	OAuthAuthorizeTokenList
	OAuthClient
	OAuthClientAuthorization
	OAuthClientAuthorizationList
	OAuthClientList
	OAuthRedirectReference
	RedirectReference
	ScopeRestriction

Index

Constants

View Source
const (
	GroupName       = "oauth.openshift.io"
	LegacyGroupName = ""
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeGroupVersion       = schema.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"}

	LegacySchemeBuilder    = runtime.NewSchemeBuilder(addLegacyKnownTypes, addConversionFuncs, addDefaultingFuncs)
	AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs, addDefaultingFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_api_ClusterRoleScopeRestriction_To_v1_ClusterRoleScopeRestriction added in v1.3.0

func Convert_api_ClusterRoleScopeRestriction_To_v1_ClusterRoleScopeRestriction(in *api.ClusterRoleScopeRestriction, out *ClusterRoleScopeRestriction, s conversion.Scope) error

func Convert_api_OAuthAccessTokenList_To_v1_OAuthAccessTokenList added in v1.3.0

func Convert_api_OAuthAccessTokenList_To_v1_OAuthAccessTokenList(in *api.OAuthAccessTokenList, out *OAuthAccessTokenList, s conversion.Scope) error

func Convert_api_OAuthAccessToken_To_v1_OAuthAccessToken added in v1.3.0

func Convert_api_OAuthAccessToken_To_v1_OAuthAccessToken(in *api.OAuthAccessToken, out *OAuthAccessToken, s conversion.Scope) error

func Convert_api_OAuthAuthorizeTokenList_To_v1_OAuthAuthorizeTokenList added in v1.3.0

func Convert_api_OAuthAuthorizeTokenList_To_v1_OAuthAuthorizeTokenList(in *api.OAuthAuthorizeTokenList, out *OAuthAuthorizeTokenList, s conversion.Scope) error

func Convert_api_OAuthAuthorizeToken_To_v1_OAuthAuthorizeToken added in v1.3.0

func Convert_api_OAuthAuthorizeToken_To_v1_OAuthAuthorizeToken(in *api.OAuthAuthorizeToken, out *OAuthAuthorizeToken, s conversion.Scope) error

func Convert_api_OAuthClientAuthorizationList_To_v1_OAuthClientAuthorizationList added in v1.3.0

func Convert_api_OAuthClientAuthorizationList_To_v1_OAuthClientAuthorizationList(in *api.OAuthClientAuthorizationList, out *OAuthClientAuthorizationList, s conversion.Scope) error

func Convert_api_OAuthClientAuthorization_To_v1_OAuthClientAuthorization added in v1.3.0

func Convert_api_OAuthClientAuthorization_To_v1_OAuthClientAuthorization(in *api.OAuthClientAuthorization, out *OAuthClientAuthorization, s conversion.Scope) error

func Convert_api_OAuthClientList_To_v1_OAuthClientList added in v1.3.0

func Convert_api_OAuthClientList_To_v1_OAuthClientList(in *api.OAuthClientList, out *OAuthClientList, s conversion.Scope) error

func Convert_api_OAuthClient_To_v1_OAuthClient added in v1.3.0

func Convert_api_OAuthClient_To_v1_OAuthClient(in *api.OAuthClient, out *OAuthClient, s conversion.Scope) error

func Convert_api_OAuthRedirectReference_To_v1_OAuthRedirectReference added in v1.4.0

func Convert_api_OAuthRedirectReference_To_v1_OAuthRedirectReference(in *api.OAuthRedirectReference, out *OAuthRedirectReference, s conversion.Scope) error

func Convert_api_RedirectReference_To_v1_RedirectReference added in v1.4.0

func Convert_api_RedirectReference_To_v1_RedirectReference(in *api.RedirectReference, out *RedirectReference, s conversion.Scope) error

func Convert_api_ScopeRestriction_To_v1_ScopeRestriction added in v1.3.0

func Convert_api_ScopeRestriction_To_v1_ScopeRestriction(in *api.ScopeRestriction, out *ScopeRestriction, s conversion.Scope) error

func Convert_v1_ClusterRoleScopeRestriction_To_api_ClusterRoleScopeRestriction added in v1.3.0

func Convert_v1_ClusterRoleScopeRestriction_To_api_ClusterRoleScopeRestriction(in *ClusterRoleScopeRestriction, out *api.ClusterRoleScopeRestriction, s conversion.Scope) error

func Convert_v1_OAuthAccessTokenList_To_api_OAuthAccessTokenList added in v1.3.0

func Convert_v1_OAuthAccessTokenList_To_api_OAuthAccessTokenList(in *OAuthAccessTokenList, out *api.OAuthAccessTokenList, s conversion.Scope) error

func Convert_v1_OAuthAccessToken_To_api_OAuthAccessToken added in v1.3.0

func Convert_v1_OAuthAccessToken_To_api_OAuthAccessToken(in *OAuthAccessToken, out *api.OAuthAccessToken, s conversion.Scope) error

func Convert_v1_OAuthAuthorizeTokenList_To_api_OAuthAuthorizeTokenList added in v1.3.0

func Convert_v1_OAuthAuthorizeTokenList_To_api_OAuthAuthorizeTokenList(in *OAuthAuthorizeTokenList, out *api.OAuthAuthorizeTokenList, s conversion.Scope) error

func Convert_v1_OAuthAuthorizeToken_To_api_OAuthAuthorizeToken added in v1.3.0

func Convert_v1_OAuthAuthorizeToken_To_api_OAuthAuthorizeToken(in *OAuthAuthorizeToken, out *api.OAuthAuthorizeToken, s conversion.Scope) error

func Convert_v1_OAuthClientAuthorizationList_To_api_OAuthClientAuthorizationList added in v1.3.0

func Convert_v1_OAuthClientAuthorizationList_To_api_OAuthClientAuthorizationList(in *OAuthClientAuthorizationList, out *api.OAuthClientAuthorizationList, s conversion.Scope) error

func Convert_v1_OAuthClientAuthorization_To_api_OAuthClientAuthorization added in v1.3.0

func Convert_v1_OAuthClientAuthorization_To_api_OAuthClientAuthorization(in *OAuthClientAuthorization, out *api.OAuthClientAuthorization, s conversion.Scope) error

func Convert_v1_OAuthClientList_To_api_OAuthClientList added in v1.3.0

func Convert_v1_OAuthClientList_To_api_OAuthClientList(in *OAuthClientList, out *api.OAuthClientList, s conversion.Scope) error

func Convert_v1_OAuthClient_To_api_OAuthClient added in v1.3.0

func Convert_v1_OAuthClient_To_api_OAuthClient(in *OAuthClient, out *api.OAuthClient, s conversion.Scope) error

func Convert_v1_OAuthRedirectReference_To_api_OAuthRedirectReference added in v1.4.0

func Convert_v1_OAuthRedirectReference_To_api_OAuthRedirectReference(in *OAuthRedirectReference, out *api.OAuthRedirectReference, s conversion.Scope) error

func Convert_v1_RedirectReference_To_api_RedirectReference added in v1.4.0

func Convert_v1_RedirectReference_To_api_RedirectReference(in *RedirectReference, out *api.RedirectReference, s conversion.Scope) error

func Convert_v1_ScopeRestriction_To_api_ScopeRestriction added in v1.3.0

func Convert_v1_ScopeRestriction_To_api_ScopeRestriction(in *ScopeRestriction, out *api.ScopeRestriction, s conversion.Scope) error

func DeepCopy_v1_ClusterRoleScopeRestriction added in v1.3.0

func DeepCopy_v1_ClusterRoleScopeRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAccessToken added in v1.3.0

func DeepCopy_v1_OAuthAccessToken(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAccessTokenList added in v1.3.0

func DeepCopy_v1_OAuthAccessTokenList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAuthorizeToken added in v1.3.0

func DeepCopy_v1_OAuthAuthorizeToken(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAuthorizeTokenList added in v1.3.0

func DeepCopy_v1_OAuthAuthorizeTokenList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClient added in v1.3.0

func DeepCopy_v1_OAuthClient(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientAuthorization added in v1.3.0

func DeepCopy_v1_OAuthClientAuthorization(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientAuthorizationList added in v1.3.0

func DeepCopy_v1_OAuthClientAuthorizationList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientList added in v1.3.0

func DeepCopy_v1_OAuthClientList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_OAuthRedirectReference added in v1.4.0

func DeepCopy_v1_OAuthRedirectReference(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_RedirectReference added in v1.4.0

func DeepCopy_v1_RedirectReference(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ScopeRestriction added in v1.3.0

func DeepCopy_v1_ScopeRestriction(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions added in v1.4.0

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies added in v1.4.0

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v1.5.0

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func SetDefaults_OAuthAuthorizeToken added in v1.4.0

func SetDefaults_OAuthAuthorizeToken(obj *OAuthAuthorizeToken)

func SetObjectDefaults_OAuthAuthorizeToken added in v1.5.0

func SetObjectDefaults_OAuthAuthorizeToken(in *OAuthAuthorizeToken)

func SetObjectDefaults_OAuthAuthorizeTokenList added in v1.5.0

func SetObjectDefaults_OAuthAuthorizeTokenList(in *OAuthAuthorizeTokenList)

Types

type ClusterRoleScopeRestriction added in v1.3.0

type ClusterRoleScopeRestriction struct {
	// RoleNames is the list of cluster roles that can referenced.  * means anything
	RoleNames []string `json:"roleNames" protobuf:"bytes,1,rep,name=roleNames"`
	// Namespaces is the list of namespaces that can be referenced.  * means any of them (including *)
	Namespaces []string `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"`
	// AllowEscalation indicates whether you can request roles and their escalating resources
	AllowEscalation bool `json:"allowEscalation" protobuf:"varint,3,opt,name=allowEscalation"`
}

ClusterRoleScopeRestriction describes restrictions on cluster role scopes

func (*ClusterRoleScopeRestriction) Descriptor added in v1.4.0

func (*ClusterRoleScopeRestriction) Descriptor() ([]byte, []int)

func (*ClusterRoleScopeRestriction) Marshal added in v1.3.0

func (m *ClusterRoleScopeRestriction) Marshal() (data []byte, err error)

func (*ClusterRoleScopeRestriction) MarshalTo added in v1.3.0

func (m *ClusterRoleScopeRestriction) MarshalTo(data []byte) (int, error)

func (*ClusterRoleScopeRestriction) ProtoMessage added in v1.3.0

func (*ClusterRoleScopeRestriction) ProtoMessage()

func (*ClusterRoleScopeRestriction) Reset added in v1.3.0

func (m *ClusterRoleScopeRestriction) Reset()

func (*ClusterRoleScopeRestriction) Size added in v1.3.0

func (m *ClusterRoleScopeRestriction) Size() (n int)

func (*ClusterRoleScopeRestriction) String added in v1.3.0

func (this *ClusterRoleScopeRestriction) String() string

func (ClusterRoleScopeRestriction) SwaggerDoc added in v1.3.0

func (ClusterRoleScopeRestriction) SwaggerDoc() map[string]string

func (*ClusterRoleScopeRestriction) Unmarshal added in v1.3.0

func (m *ClusterRoleScopeRestriction) Unmarshal(data []byte) error

type GrantHandlerType added in v1.3.0

type GrantHandlerType string
const (
	// GrantHandlerAuto auto-approves client authorization grant requests
	GrantHandlerAuto GrantHandlerType = "auto"
	// GrantHandlerPrompt prompts the user to approve new client authorization grant requests
	GrantHandlerPrompt GrantHandlerType = "prompt"
	// GrantHandlerDeny auto-denies client authorization grant requests
	GrantHandlerDeny GrantHandlerType = "deny"
)

type OAuthAccessToken

type OAuthAccessToken struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// ClientName references the client that created this token.
	ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"`

	// ExpiresIn is the seconds from CreationTime before this token expires.
	ExpiresIn int64 `json:"expiresIn,omitempty" protobuf:"varint,3,opt,name=expiresIn"`

	// Scopes is an array of the requested scopes.
	Scopes []string `json:"scopes,omitempty" protobuf:"bytes,4,rep,name=scopes"`

	// RedirectURI is the redirection associated with the token.
	RedirectURI string `json:"redirectURI,omitempty" protobuf:"bytes,5,opt,name=redirectURI"`

	// UserName is the user name associated with this token
	UserName string `json:"userName,omitempty" protobuf:"bytes,6,opt,name=userName"`

	// UserUID is the unique UID associated with this token
	UserUID string `json:"userUID,omitempty" protobuf:"bytes,7,opt,name=userUID"`

	// AuthorizeToken contains the token that authorized this token
	AuthorizeToken string `json:"authorizeToken,omitempty" protobuf:"bytes,8,opt,name=authorizeToken"`

	// RefreshToken is the value by which this token can be renewed. Can be blank.
	RefreshToken string `json:"refreshToken,omitempty" protobuf:"bytes,9,opt,name=refreshToken"`
}

OAuthAccessToken describes an OAuth access token

func (*OAuthAccessToken) Descriptor added in v1.4.0

func (*OAuthAccessToken) Descriptor() ([]byte, []int)

func (*OAuthAccessToken) Marshal added in v1.3.0

func (m *OAuthAccessToken) Marshal() (data []byte, err error)

func (*OAuthAccessToken) MarshalTo added in v1.3.0

func (m *OAuthAccessToken) MarshalTo(data []byte) (int, error)

func (*OAuthAccessToken) ProtoMessage added in v1.3.0

func (*OAuthAccessToken) ProtoMessage()

func (*OAuthAccessToken) Reset added in v1.3.0

func (m *OAuthAccessToken) Reset()

func (*OAuthAccessToken) Size added in v1.3.0

func (m *OAuthAccessToken) Size() (n int)

func (*OAuthAccessToken) String added in v1.3.0

func (this *OAuthAccessToken) String() string

func (OAuthAccessToken) SwaggerDoc added in v1.1.4

func (OAuthAccessToken) SwaggerDoc() map[string]string

func (*OAuthAccessToken) Unmarshal added in v1.3.0

func (m *OAuthAccessToken) Unmarshal(data []byte) error

type OAuthAccessTokenList

type OAuthAccessTokenList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of OAuth access tokens
	Items []OAuthAccessToken `json:"items" protobuf:"bytes,2,rep,name=items"`
}

OAuthAccessTokenList is a collection of OAuth access tokens

func (*OAuthAccessTokenList) Descriptor added in v1.4.0

func (*OAuthAccessTokenList) Descriptor() ([]byte, []int)

func (*OAuthAccessTokenList) Marshal added in v1.3.0

func (m *OAuthAccessTokenList) Marshal() (data []byte, err error)

func (*OAuthAccessTokenList) MarshalTo added in v1.3.0

func (m *OAuthAccessTokenList) MarshalTo(data []byte) (int, error)

func (*OAuthAccessTokenList) ProtoMessage added in v1.3.0

func (*OAuthAccessTokenList) ProtoMessage()

func (*OAuthAccessTokenList) Reset added in v1.3.0

func (m *OAuthAccessTokenList) Reset()

func (*OAuthAccessTokenList) Size added in v1.3.0

func (m *OAuthAccessTokenList) Size() (n int)

func (*OAuthAccessTokenList) String added in v1.3.0

func (this *OAuthAccessTokenList) String() string

func (OAuthAccessTokenList) SwaggerDoc added in v1.1.4

func (OAuthAccessTokenList) SwaggerDoc() map[string]string

func (*OAuthAccessTokenList) Unmarshal added in v1.3.0

func (m *OAuthAccessTokenList) Unmarshal(data []byte) error

type OAuthAuthorizeToken

type OAuthAuthorizeToken struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// ClientName references the client that created this token.
	ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"`

	// ExpiresIn is the seconds from CreationTime before this token expires.
	ExpiresIn int64 `json:"expiresIn,omitempty" protobuf:"varint,3,opt,name=expiresIn"`

	// Scopes is an array of the requested scopes.
	Scopes []string `json:"scopes,omitempty" protobuf:"bytes,4,rep,name=scopes"`

	// RedirectURI is the redirection associated with the token.
	RedirectURI string `json:"redirectURI,omitempty" protobuf:"bytes,5,opt,name=redirectURI"`

	// State data from request
	State string `json:"state,omitempty" protobuf:"bytes,6,opt,name=state"`

	// UserName is the user name associated with this token
	UserName string `json:"userName,omitempty" protobuf:"bytes,7,opt,name=userName"`

	// 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" protobuf:"bytes,8,opt,name=userUID"`

	// CodeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636
	CodeChallenge string `json:"codeChallenge,omitempty" protobuf:"bytes,9,opt,name=codeChallenge"`

	// CodeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636
	CodeChallengeMethod string `json:"codeChallengeMethod,omitempty" protobuf:"bytes,10,opt,name=codeChallengeMethod"`
}

OAuthAuthorizeToken describes an OAuth authorization token

func (*OAuthAuthorizeToken) Descriptor added in v1.4.0

func (*OAuthAuthorizeToken) Descriptor() ([]byte, []int)

func (*OAuthAuthorizeToken) Marshal added in v1.3.0

func (m *OAuthAuthorizeToken) Marshal() (data []byte, err error)

func (*OAuthAuthorizeToken) MarshalTo added in v1.3.0

func (m *OAuthAuthorizeToken) MarshalTo(data []byte) (int, error)

func (*OAuthAuthorizeToken) ProtoMessage added in v1.3.0

func (*OAuthAuthorizeToken) ProtoMessage()

func (*OAuthAuthorizeToken) Reset added in v1.3.0

func (m *OAuthAuthorizeToken) Reset()

func (*OAuthAuthorizeToken) Size added in v1.3.0

func (m *OAuthAuthorizeToken) Size() (n int)

func (*OAuthAuthorizeToken) String added in v1.3.0

func (this *OAuthAuthorizeToken) String() string

func (OAuthAuthorizeToken) SwaggerDoc added in v1.1.4

func (OAuthAuthorizeToken) SwaggerDoc() map[string]string

func (*OAuthAuthorizeToken) Unmarshal added in v1.3.0

func (m *OAuthAuthorizeToken) Unmarshal(data []byte) error

type OAuthAuthorizeTokenList

type OAuthAuthorizeTokenList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of OAuth authorization tokens
	Items []OAuthAuthorizeToken `json:"items" protobuf:"bytes,2,rep,name=items"`
}

OAuthAuthorizeTokenList is a collection of OAuth authorization tokens

func (*OAuthAuthorizeTokenList) Descriptor added in v1.4.0

func (*OAuthAuthorizeTokenList) Descriptor() ([]byte, []int)

func (*OAuthAuthorizeTokenList) Marshal added in v1.3.0

func (m *OAuthAuthorizeTokenList) Marshal() (data []byte, err error)

func (*OAuthAuthorizeTokenList) MarshalTo added in v1.3.0

func (m *OAuthAuthorizeTokenList) MarshalTo(data []byte) (int, error)

func (*OAuthAuthorizeTokenList) ProtoMessage added in v1.3.0

func (*OAuthAuthorizeTokenList) ProtoMessage()

func (*OAuthAuthorizeTokenList) Reset added in v1.3.0

func (m *OAuthAuthorizeTokenList) Reset()

func (*OAuthAuthorizeTokenList) Size added in v1.3.0

func (m *OAuthAuthorizeTokenList) Size() (n int)

func (*OAuthAuthorizeTokenList) String added in v1.3.0

func (this *OAuthAuthorizeTokenList) String() string

func (OAuthAuthorizeTokenList) SwaggerDoc added in v1.1.4

func (OAuthAuthorizeTokenList) SwaggerDoc() map[string]string

func (*OAuthAuthorizeTokenList) Unmarshal added in v1.3.0

func (m *OAuthAuthorizeTokenList) Unmarshal(data []byte) error

type OAuthClient

type OAuthClient struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Secret is the unique secret associated with a client
	Secret string `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

	// AdditionalSecrets holds other secrets that may be used to identify the client.  This is useful for rotation
	// and for service account token validation
	AdditionalSecrets []string `json:"additionalSecrets,omitempty" protobuf:"bytes,3,rep,name=additionalSecrets"`

	// RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects
	RespondWithChallenges bool `json:"respondWithChallenges,omitempty" protobuf:"varint,4,opt,name=respondWithChallenges"`

	// RedirectURIs is the valid redirection URIs associated with a client
	RedirectURIs []string `json:"redirectURIs,omitempty" patchStrategy:"merge" protobuf:"bytes,5,rep,name=redirectURIs"`

	// GrantMethod determines how to handle grants for this client. If no method is provided, the
	// cluster default grant handling method will be used. Valid grant handling methods are:
	//  - auto:   always approves grant requests, useful for trusted clients
	//  - prompt: prompts the end user for approval of grant requests, useful for third-party clients
	//  - deny:   always denies grant requests, useful for black-listed clients
	GrantMethod GrantHandlerType `json:"grantMethod,omitempty" protobuf:"bytes,6,opt,name=grantMethod,casttype=GrantHandlerType"`

	// ScopeRestrictions describes which scopes this client can request.  Each requested scope
	// is checked against each restriction.  If any restriction matches, then the scope is allowed.
	// If no restriction matches, then the scope is denied.
	ScopeRestrictions []ScopeRestriction `json:"scopeRestrictions,omitempty" protobuf:"bytes,7,rep,name=scopeRestrictions"`
}

OAuthClient describes an OAuth client

func (*OAuthClient) Descriptor added in v1.4.0

func (*OAuthClient) Descriptor() ([]byte, []int)

func (*OAuthClient) Marshal added in v1.3.0

func (m *OAuthClient) Marshal() (data []byte, err error)

func (*OAuthClient) MarshalTo added in v1.3.0

func (m *OAuthClient) MarshalTo(data []byte) (int, error)

func (*OAuthClient) ProtoMessage added in v1.3.0

func (*OAuthClient) ProtoMessage()

func (*OAuthClient) Reset added in v1.3.0

func (m *OAuthClient) Reset()

func (*OAuthClient) Size added in v1.3.0

func (m *OAuthClient) Size() (n int)

func (*OAuthClient) String added in v1.3.0

func (this *OAuthClient) String() string

func (OAuthClient) SwaggerDoc added in v1.1.4

func (OAuthClient) SwaggerDoc() map[string]string

func (*OAuthClient) Unmarshal added in v1.3.0

func (m *OAuthClient) Unmarshal(data []byte) error

type OAuthClientAuthorization

type OAuthClientAuthorization struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// ClientName references the client that created this authorization
	ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"`

	// UserName is the user name that authorized this client
	UserName string `json:"userName,omitempty" protobuf:"bytes,3,opt,name=userName"`

	// 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" protobuf:"bytes,4,opt,name=userUID"`

	// Scopes is an array of the granted scopes.
	Scopes []string `json:"scopes,omitempty" protobuf:"bytes,5,rep,name=scopes"`
}

OAuthClientAuthorization describes an authorization created by an OAuth client

func (*OAuthClientAuthorization) Descriptor added in v1.4.0

func (*OAuthClientAuthorization) Descriptor() ([]byte, []int)

func (*OAuthClientAuthorization) Marshal added in v1.3.0

func (m *OAuthClientAuthorization) Marshal() (data []byte, err error)

func (*OAuthClientAuthorization) MarshalTo added in v1.3.0

func (m *OAuthClientAuthorization) MarshalTo(data []byte) (int, error)

func (*OAuthClientAuthorization) ProtoMessage added in v1.3.0

func (*OAuthClientAuthorization) ProtoMessage()

func (*OAuthClientAuthorization) Reset added in v1.3.0

func (m *OAuthClientAuthorization) Reset()

func (*OAuthClientAuthorization) Size added in v1.3.0

func (m *OAuthClientAuthorization) Size() (n int)

func (*OAuthClientAuthorization) String added in v1.3.0

func (this *OAuthClientAuthorization) String() string

func (OAuthClientAuthorization) SwaggerDoc added in v1.1.4

func (OAuthClientAuthorization) SwaggerDoc() map[string]string

func (*OAuthClientAuthorization) Unmarshal added in v1.3.0

func (m *OAuthClientAuthorization) Unmarshal(data []byte) error

type OAuthClientAuthorizationList

type OAuthClientAuthorizationList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of OAuth client authorizations
	Items []OAuthClientAuthorization `json:"items" protobuf:"bytes,2,rep,name=items"`
}

OAuthClientAuthorizationList is a collection of OAuth client authorizations

func (*OAuthClientAuthorizationList) Descriptor added in v1.4.0

func (*OAuthClientAuthorizationList) Descriptor() ([]byte, []int)

func (*OAuthClientAuthorizationList) Marshal added in v1.3.0

func (m *OAuthClientAuthorizationList) Marshal() (data []byte, err error)

func (*OAuthClientAuthorizationList) MarshalTo added in v1.3.0

func (m *OAuthClientAuthorizationList) MarshalTo(data []byte) (int, error)

func (*OAuthClientAuthorizationList) ProtoMessage added in v1.3.0

func (*OAuthClientAuthorizationList) ProtoMessage()

func (*OAuthClientAuthorizationList) Reset added in v1.3.0

func (m *OAuthClientAuthorizationList) Reset()

func (*OAuthClientAuthorizationList) Size added in v1.3.0

func (m *OAuthClientAuthorizationList) Size() (n int)

func (*OAuthClientAuthorizationList) String added in v1.3.0

func (this *OAuthClientAuthorizationList) String() string

func (OAuthClientAuthorizationList) SwaggerDoc added in v1.1.4

func (OAuthClientAuthorizationList) SwaggerDoc() map[string]string

func (*OAuthClientAuthorizationList) Unmarshal added in v1.3.0

func (m *OAuthClientAuthorizationList) Unmarshal(data []byte) error

type OAuthClientList

type OAuthClientList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of OAuth clients
	Items []OAuthClient `json:"items" protobuf:"bytes,2,rep,name=items"`
}

OAuthClientList is a collection of OAuth clients

func (*OAuthClientList) Descriptor added in v1.4.0

func (*OAuthClientList) Descriptor() ([]byte, []int)

func (*OAuthClientList) Marshal added in v1.3.0

func (m *OAuthClientList) Marshal() (data []byte, err error)

func (*OAuthClientList) MarshalTo added in v1.3.0

func (m *OAuthClientList) MarshalTo(data []byte) (int, error)

func (*OAuthClientList) ProtoMessage added in v1.3.0

func (*OAuthClientList) ProtoMessage()

func (*OAuthClientList) Reset added in v1.3.0

func (m *OAuthClientList) Reset()

func (*OAuthClientList) Size added in v1.3.0

func (m *OAuthClientList) Size() (n int)

func (*OAuthClientList) String added in v1.3.0

func (this *OAuthClientList) String() string

func (OAuthClientList) SwaggerDoc added in v1.1.4

func (OAuthClientList) SwaggerDoc() map[string]string

func (*OAuthClientList) Unmarshal added in v1.3.0

func (m *OAuthClientList) Unmarshal(data []byte) error

type OAuthRedirectReference added in v1.4.0

type OAuthRedirectReference struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// The reference to an redirect object in the current namespace.
	Reference RedirectReference `json:"reference,omitempty" protobuf:"bytes,2,opt,name=reference"`
}

OAuthRedirectReference is a reference to an OAuth redirect object.

func (*OAuthRedirectReference) Descriptor added in v1.4.0

func (*OAuthRedirectReference) Descriptor() ([]byte, []int)

func (*OAuthRedirectReference) Marshal added in v1.4.0

func (m *OAuthRedirectReference) Marshal() (data []byte, err error)

func (*OAuthRedirectReference) MarshalTo added in v1.4.0

func (m *OAuthRedirectReference) MarshalTo(data []byte) (int, error)

func (*OAuthRedirectReference) ProtoMessage added in v1.4.0

func (*OAuthRedirectReference) ProtoMessage()

func (*OAuthRedirectReference) Reset added in v1.4.0

func (m *OAuthRedirectReference) Reset()

func (*OAuthRedirectReference) Size added in v1.4.0

func (m *OAuthRedirectReference) Size() (n int)

func (*OAuthRedirectReference) String added in v1.4.0

func (this *OAuthRedirectReference) String() string

func (OAuthRedirectReference) SwaggerDoc added in v1.4.0

func (OAuthRedirectReference) SwaggerDoc() map[string]string

func (*OAuthRedirectReference) Unmarshal added in v1.4.0

func (m *OAuthRedirectReference) Unmarshal(data []byte) error

type RedirectReference added in v1.4.0

type RedirectReference struct {
	// The group of the target that is being referred to.
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`

	// The kind of the target that is being referred to.  Currently, only 'Route' is allowed.
	Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`

	// The name of the target that is being referred to. e.g. name of the Route.
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

RedirectReference specifies the target in the current namespace that resolves into redirect URIs. Only the 'Route' kind is currently allowed.

func (*RedirectReference) Descriptor added in v1.4.0

func (*RedirectReference) Descriptor() ([]byte, []int)

func (*RedirectReference) Marshal added in v1.4.0

func (m *RedirectReference) Marshal() (data []byte, err error)

func (*RedirectReference) MarshalTo added in v1.4.0

func (m *RedirectReference) MarshalTo(data []byte) (int, error)

func (*RedirectReference) ProtoMessage added in v1.4.0

func (*RedirectReference) ProtoMessage()

func (*RedirectReference) Reset added in v1.4.0

func (m *RedirectReference) Reset()

func (*RedirectReference) Size added in v1.4.0

func (m *RedirectReference) Size() (n int)

func (*RedirectReference) String added in v1.4.0

func (this *RedirectReference) String() string

func (RedirectReference) SwaggerDoc added in v1.4.0

func (RedirectReference) SwaggerDoc() map[string]string

func (*RedirectReference) Unmarshal added in v1.4.0

func (m *RedirectReference) Unmarshal(data []byte) error

type ScopeRestriction added in v1.3.0

type ScopeRestriction struct {
	// ExactValues means the scope has to match a particular set of strings exactly
	ExactValues []string `json:"literals,omitempty" protobuf:"bytes,1,rep,name=literals"`

	// ClusterRole describes a set of restrictions for cluster role scoping.
	ClusterRole *ClusterRoleScopeRestriction `json:"clusterRole,omitempty" protobuf:"bytes,2,opt,name=clusterRole"`
}

ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.

func (*ScopeRestriction) Descriptor added in v1.4.0

func (*ScopeRestriction) Descriptor() ([]byte, []int)

func (*ScopeRestriction) Marshal added in v1.3.0

func (m *ScopeRestriction) Marshal() (data []byte, err error)

func (*ScopeRestriction) MarshalTo added in v1.3.0

func (m *ScopeRestriction) MarshalTo(data []byte) (int, error)

func (*ScopeRestriction) ProtoMessage added in v1.3.0

func (*ScopeRestriction) ProtoMessage()

func (*ScopeRestriction) Reset added in v1.3.0

func (m *ScopeRestriction) Reset()

func (*ScopeRestriction) Size added in v1.3.0

func (m *ScopeRestriction) Size() (n int)

func (*ScopeRestriction) String added in v1.3.0

func (this *ScopeRestriction) String() string

func (ScopeRestriction) SwaggerDoc added in v1.3.0

func (ScopeRestriction) SwaggerDoc() map[string]string

func (*ScopeRestriction) Unmarshal added in v1.3.0

func (m *ScopeRestriction) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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