...

Package v1

import "github.com/openshift/api/osin/v1"
Overview
Index

Overview ▾

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

Index ▾

Variables
func Resource(resource string) schema.GroupResource
type AllowAllPasswordIdentityProvider
    func (in *AllowAllPasswordIdentityProvider) DeepCopy() *AllowAllPasswordIdentityProvider
    func (in *AllowAllPasswordIdentityProvider) DeepCopyInto(out *AllowAllPasswordIdentityProvider)
    func (in *AllowAllPasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (AllowAllPasswordIdentityProvider) SwaggerDoc() map[string]string
type BasicAuthPasswordIdentityProvider
    func (in *BasicAuthPasswordIdentityProvider) DeepCopy() *BasicAuthPasswordIdentityProvider
    func (in *BasicAuthPasswordIdentityProvider) DeepCopyInto(out *BasicAuthPasswordIdentityProvider)
    func (in *BasicAuthPasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (BasicAuthPasswordIdentityProvider) SwaggerDoc() map[string]string
type DenyAllPasswordIdentityProvider
    func (in *DenyAllPasswordIdentityProvider) DeepCopy() *DenyAllPasswordIdentityProvider
    func (in *DenyAllPasswordIdentityProvider) DeepCopyInto(out *DenyAllPasswordIdentityProvider)
    func (in *DenyAllPasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (DenyAllPasswordIdentityProvider) SwaggerDoc() map[string]string
type GitHubIdentityProvider
    func (in *GitHubIdentityProvider) DeepCopy() *GitHubIdentityProvider
    func (in *GitHubIdentityProvider) DeepCopyInto(out *GitHubIdentityProvider)
    func (in *GitHubIdentityProvider) DeepCopyObject() runtime.Object
    func (GitHubIdentityProvider) SwaggerDoc() map[string]string
type GitLabIdentityProvider
    func (in *GitLabIdentityProvider) DeepCopy() *GitLabIdentityProvider
    func (in *GitLabIdentityProvider) DeepCopyInto(out *GitLabIdentityProvider)
    func (in *GitLabIdentityProvider) DeepCopyObject() runtime.Object
    func (GitLabIdentityProvider) SwaggerDoc() map[string]string
type GoogleIdentityProvider
    func (in *GoogleIdentityProvider) DeepCopy() *GoogleIdentityProvider
    func (in *GoogleIdentityProvider) DeepCopyInto(out *GoogleIdentityProvider)
    func (in *GoogleIdentityProvider) DeepCopyObject() runtime.Object
    func (GoogleIdentityProvider) SwaggerDoc() map[string]string
type GrantConfig
    func (in *GrantConfig) DeepCopy() *GrantConfig
    func (in *GrantConfig) DeepCopyInto(out *GrantConfig)
    func (GrantConfig) SwaggerDoc() map[string]string
type GrantHandlerType
type HTPasswdPasswordIdentityProvider
    func (in *HTPasswdPasswordIdentityProvider) DeepCopy() *HTPasswdPasswordIdentityProvider
    func (in *HTPasswdPasswordIdentityProvider) DeepCopyInto(out *HTPasswdPasswordIdentityProvider)
    func (in *HTPasswdPasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (HTPasswdPasswordIdentityProvider) SwaggerDoc() map[string]string
type IdentityProvider
    func (in *IdentityProvider) DeepCopy() *IdentityProvider
    func (in *IdentityProvider) DeepCopyInto(out *IdentityProvider)
    func (IdentityProvider) SwaggerDoc() map[string]string
type KeystonePasswordIdentityProvider
    func (in *KeystonePasswordIdentityProvider) DeepCopy() *KeystonePasswordIdentityProvider
    func (in *KeystonePasswordIdentityProvider) DeepCopyInto(out *KeystonePasswordIdentityProvider)
    func (in *KeystonePasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (KeystonePasswordIdentityProvider) SwaggerDoc() map[string]string
type LDAPAttributeMapping
    func (in *LDAPAttributeMapping) DeepCopy() *LDAPAttributeMapping
    func (in *LDAPAttributeMapping) DeepCopyInto(out *LDAPAttributeMapping)
    func (LDAPAttributeMapping) SwaggerDoc() map[string]string
type LDAPPasswordIdentityProvider
    func (in *LDAPPasswordIdentityProvider) DeepCopy() *LDAPPasswordIdentityProvider
    func (in *LDAPPasswordIdentityProvider) DeepCopyInto(out *LDAPPasswordIdentityProvider)
    func (in *LDAPPasswordIdentityProvider) DeepCopyObject() runtime.Object
    func (LDAPPasswordIdentityProvider) SwaggerDoc() map[string]string
type OAuthConfig
    func (in *OAuthConfig) DeepCopy() *OAuthConfig
    func (in *OAuthConfig) DeepCopyInto(out *OAuthConfig)
    func (OAuthConfig) SwaggerDoc() map[string]string
type OAuthTemplates
    func (in *OAuthTemplates) DeepCopy() *OAuthTemplates
    func (in *OAuthTemplates) DeepCopyInto(out *OAuthTemplates)
    func (OAuthTemplates) SwaggerDoc() map[string]string
type OpenIDClaims
    func (in *OpenIDClaims) DeepCopy() *OpenIDClaims
    func (in *OpenIDClaims) DeepCopyInto(out *OpenIDClaims)
    func (OpenIDClaims) SwaggerDoc() map[string]string
type OpenIDIdentityProvider
    func (in *OpenIDIdentityProvider) DeepCopy() *OpenIDIdentityProvider
    func (in *OpenIDIdentityProvider) DeepCopyInto(out *OpenIDIdentityProvider)
    func (in *OpenIDIdentityProvider) DeepCopyObject() runtime.Object
    func (OpenIDIdentityProvider) SwaggerDoc() map[string]string
type OpenIDURLs
    func (in *OpenIDURLs) DeepCopy() *OpenIDURLs
    func (in *OpenIDURLs) DeepCopyInto(out *OpenIDURLs)
    func (OpenIDURLs) SwaggerDoc() map[string]string
type OsinServerConfig
    func (in *OsinServerConfig) DeepCopy() *OsinServerConfig
    func (in *OsinServerConfig) DeepCopyInto(out *OsinServerConfig)
    func (in *OsinServerConfig) DeepCopyObject() runtime.Object
    func (OsinServerConfig) SwaggerDoc() map[string]string
type RequestHeaderIdentityProvider
    func (in *RequestHeaderIdentityProvider) DeepCopy() *RequestHeaderIdentityProvider
    func (in *RequestHeaderIdentityProvider) DeepCopyInto(out *RequestHeaderIdentityProvider)
    func (in *RequestHeaderIdentityProvider) DeepCopyObject() runtime.Object
    func (RequestHeaderIdentityProvider) SwaggerDoc() map[string]string
type SessionConfig
    func (in *SessionConfig) DeepCopy() *SessionConfig
    func (in *SessionConfig) DeepCopyInto(out *SessionConfig)
    func (SessionConfig) SwaggerDoc() map[string]string
type SessionSecret
    func (in *SessionSecret) DeepCopy() *SessionSecret
    func (in *SessionSecret) DeepCopyInto(out *SessionSecret)
    func (SessionSecret) SwaggerDoc() map[string]string
type SessionSecrets
    func (in *SessionSecrets) DeepCopy() *SessionSecrets
    func (in *SessionSecrets) DeepCopyInto(out *SessionSecrets)
    func (in *SessionSecrets) DeepCopyObject() runtime.Object
    func (SessionSecrets) SwaggerDoc() map[string]string
type TokenConfig
    func (in *TokenConfig) DeepCopy() *TokenConfig
    func (in *TokenConfig) DeepCopyInto(out *TokenConfig)
    func (TokenConfig) SwaggerDoc() map[string]string

Package files

doc.go register.go types.go zz_generated.deepcopy.go zz_generated.swagger_doc_generated.go

Variables

var (
    GroupName    = "osin.config.openshift.io"
    GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

    // Install is a function which adds this version to a scheme
    Install = schemeBuilder.AddToScheme

    // SchemeGroupVersion generated code relies on this name
    // Deprecated
    SchemeGroupVersion = GroupVersion
    // AddToScheme exists solely to keep the old generators creating valid code
    // DEPRECATED
    AddToScheme = schemeBuilder.AddToScheme
)

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

type AllowAllPasswordIdentityProvider

AllowAllPasswordIdentityProvider provides identities for users authenticating using non-empty passwords

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type AllowAllPasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`
}

func (*AllowAllPasswordIdentityProvider) DeepCopy

func (in *AllowAllPasswordIdentityProvider) DeepCopy() *AllowAllPasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllPasswordIdentityProvider.

func (*AllowAllPasswordIdentityProvider) DeepCopyInto

func (in *AllowAllPasswordIdentityProvider) DeepCopyInto(out *AllowAllPasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AllowAllPasswordIdentityProvider) DeepCopyObject

func (in *AllowAllPasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (AllowAllPasswordIdentityProvider) SwaggerDoc

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

type BasicAuthPasswordIdentityProvider

BasicAuthPasswordIdentityProvider provides identities for users authenticating using HTTP basic auth credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type BasicAuthPasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // RemoteConnectionInfo contains information about how to connect to the external basic auth server
    configv1.RemoteConnectionInfo `json:",inline"`
}

func (*BasicAuthPasswordIdentityProvider) DeepCopy

func (in *BasicAuthPasswordIdentityProvider) DeepCopy() *BasicAuthPasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthPasswordIdentityProvider.

func (*BasicAuthPasswordIdentityProvider) DeepCopyInto

func (in *BasicAuthPasswordIdentityProvider) DeepCopyInto(out *BasicAuthPasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BasicAuthPasswordIdentityProvider) DeepCopyObject

func (in *BasicAuthPasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (BasicAuthPasswordIdentityProvider) SwaggerDoc

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

type DenyAllPasswordIdentityProvider

DenyAllPasswordIdentityProvider provides no identities for users

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type DenyAllPasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`
}

func (*DenyAllPasswordIdentityProvider) DeepCopy

func (in *DenyAllPasswordIdentityProvider) DeepCopy() *DenyAllPasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllPasswordIdentityProvider.

func (*DenyAllPasswordIdentityProvider) DeepCopyInto

func (in *DenyAllPasswordIdentityProvider) DeepCopyInto(out *DenyAllPasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DenyAllPasswordIdentityProvider) DeepCopyObject

func (in *DenyAllPasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (DenyAllPasswordIdentityProvider) SwaggerDoc

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

type GitHubIdentityProvider

GitHubIdentityProvider provides identities for users authenticating using GitHub credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type GitHubIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // clientID is the oauth client ID
    ClientID string `json:"clientID"`
    // clientSecret is the oauth client secret
    ClientSecret configv1.StringSource `json:"clientSecret"`
    // organizations optionally restricts which organizations are allowed to log in
    Organizations []string `json:"organizations"`
    // teams optionally restricts which teams are allowed to log in. Format is <org>/<team>.
    Teams []string `json:"teams"`
    // hostname is the optional domain (e.g. "mycompany.com") for use with a hosted instance of GitHub Enterprise.
    // It must match the GitHub Enterprise settings value that is configured at /setup/settings#hostname.
    Hostname string `json:"hostname"`
    // ca is the optional trusted certificate authority bundle to use when making requests to the server.
    // If empty, the default system roots are used.  This can only be configured when hostname is set to a non-empty value.
    CA string `json:"ca"`
}

func (*GitHubIdentityProvider) DeepCopy

func (in *GitHubIdentityProvider) DeepCopy() *GitHubIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubIdentityProvider.

func (*GitHubIdentityProvider) DeepCopyInto

func (in *GitHubIdentityProvider) DeepCopyInto(out *GitHubIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitHubIdentityProvider) DeepCopyObject

func (in *GitHubIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (GitHubIdentityProvider) SwaggerDoc

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

type GitLabIdentityProvider

GitLabIdentityProvider provides identities for users authenticating using GitLab credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type GitLabIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // ca is the optional trusted certificate authority bundle to use when making requests to the server
    // If empty, the default system roots are used
    CA string `json:"ca"`
    // url is the oauth server base URL
    URL string `json:"url"`
    // clientID is the oauth client ID
    ClientID string `json:"clientID"`
    // clientSecret is the oauth client secret
    ClientSecret configv1.StringSource `json:"clientSecret"`
    // legacy determines if OAuth2 or OIDC should be used
    // If true, OAuth2 is used
    // If false, OIDC is used
    // If nil and the URL's host is gitlab.com, OIDC is used
    // Otherwise, OAuth2 is used
    // In a future release, nil will default to using OIDC
    // Eventually this flag will be removed and only OIDC will be used
    Legacy *bool `json:"legacy,omitempty"`
}

func (*GitLabIdentityProvider) DeepCopy

func (in *GitLabIdentityProvider) DeepCopy() *GitLabIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabIdentityProvider.

func (*GitLabIdentityProvider) DeepCopyInto

func (in *GitLabIdentityProvider) DeepCopyInto(out *GitLabIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitLabIdentityProvider) DeepCopyObject

func (in *GitLabIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (GitLabIdentityProvider) SwaggerDoc

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

type GoogleIdentityProvider

GoogleIdentityProvider provides identities for users authenticating using Google credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type GoogleIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // clientID is the oauth client ID
    ClientID string `json:"clientID"`
    // clientSecret is the oauth client secret
    ClientSecret configv1.StringSource `json:"clientSecret"`

    // hostedDomain is the optional Google App domain (e.g. "mycompany.com") to restrict logins to
    HostedDomain string `json:"hostedDomain"`
}

func (*GoogleIdentityProvider) DeepCopy

func (in *GoogleIdentityProvider) DeepCopy() *GoogleIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleIdentityProvider.

func (*GoogleIdentityProvider) DeepCopyInto

func (in *GoogleIdentityProvider) DeepCopyInto(out *GoogleIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GoogleIdentityProvider) DeepCopyObject

func (in *GoogleIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (GoogleIdentityProvider) SwaggerDoc

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

type GrantConfig

GrantConfig holds the necessary configuration options for grant handlers

type GrantConfig struct {
    // method determines the default strategy to use when an OAuth client requests a grant.
    // This method will be used only if the specific OAuth client doesn't provide a strategy
    // of their own. 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
    Method GrantHandlerType `json:"method"`

    // serviceAccountMethod is used for determining client authorization for service account oauth client.
    // It must be either: deny, prompt
    ServiceAccountMethod GrantHandlerType `json:"serviceAccountMethod"`
}

func (*GrantConfig) DeepCopy

func (in *GrantConfig) DeepCopy() *GrantConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantConfig.

func (*GrantConfig) DeepCopyInto

func (in *GrantConfig) DeepCopyInto(out *GrantConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GrantConfig) SwaggerDoc

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

type GrantHandlerType

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

type HTPasswdPasswordIdentityProvider

HTPasswdPasswordIdentityProvider provides identities for users authenticating using htpasswd credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type HTPasswdPasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // file is a reference to your htpasswd file
    File string `json:"file"`
}

func (*HTPasswdPasswordIdentityProvider) DeepCopy

func (in *HTPasswdPasswordIdentityProvider) DeepCopy() *HTPasswdPasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTPasswdPasswordIdentityProvider.

func (*HTPasswdPasswordIdentityProvider) DeepCopyInto

func (in *HTPasswdPasswordIdentityProvider) DeepCopyInto(out *HTPasswdPasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTPasswdPasswordIdentityProvider) DeepCopyObject

func (in *HTPasswdPasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (HTPasswdPasswordIdentityProvider) SwaggerDoc

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

type IdentityProvider

IdentityProvider provides identities for users authenticating using credentials

type IdentityProvider struct {
    // name is used to qualify the identities returned by this provider
    Name string `json:"name"`
    // challenge indicates whether to issue WWW-Authenticate challenges for this provider
    UseAsChallenger bool `json:"challenge"`
    // login indicates whether to use this identity provider for unauthenticated browsers to login against
    UseAsLogin bool `json:"login"`
    // mappingMethod determines how identities from this provider are mapped to users
    MappingMethod string `json:"mappingMethod"`
    // provider contains the information about how to set up a specific identity provider
    // +kubebuilder:pruning:PreserveUnknownFields
    Provider runtime.RawExtension `json:"provider"`
}

func (*IdentityProvider) DeepCopy

func (in *IdentityProvider) DeepCopy() *IdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProvider.

func (*IdentityProvider) DeepCopyInto

func (in *IdentityProvider) DeepCopyInto(out *IdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IdentityProvider) SwaggerDoc

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

type KeystonePasswordIdentityProvider

KeystonePasswordIdentityProvider provides identities for users authenticating using keystone password credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type KeystonePasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`
    // RemoteConnectionInfo contains information about how to connect to the keystone server
    configv1.RemoteConnectionInfo `json:",inline"`
    // domainName is required for keystone v3
    DomainName string `json:"domainName"`
    // useKeystoneIdentity flag indicates that user should be authenticated by keystone ID, not by username
    UseKeystoneIdentity bool `json:"useKeystoneIdentity"`
}

func (*KeystonePasswordIdentityProvider) DeepCopy

func (in *KeystonePasswordIdentityProvider) DeepCopy() *KeystonePasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeystonePasswordIdentityProvider.

func (*KeystonePasswordIdentityProvider) DeepCopyInto

func (in *KeystonePasswordIdentityProvider) DeepCopyInto(out *KeystonePasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KeystonePasswordIdentityProvider) DeepCopyObject

func (in *KeystonePasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (KeystonePasswordIdentityProvider) SwaggerDoc

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

type LDAPAttributeMapping

LDAPAttributeMapping maps LDAP attributes to OpenShift identity fields

type LDAPAttributeMapping struct {
    // id is the list of attributes whose values should be used as the user ID. Required.
    // LDAP standard identity attribute is "dn"
    ID []string `json:"id"`
    // preferredUsername is the list of attributes whose values should be used as the preferred username.
    // LDAP standard login attribute is "uid"
    PreferredUsername []string `json:"preferredUsername"`
    // name is the list of attributes whose values should be used as the display name. Optional.
    // If unspecified, no display name is set for the identity
    // LDAP standard display name attribute is "cn"
    Name []string `json:"name"`
    // email is the list of attributes whose values should be used as the email address. Optional.
    // If unspecified, no email is set for the identity
    Email []string `json:"email"`
}

func (*LDAPAttributeMapping) DeepCopy

func (in *LDAPAttributeMapping) DeepCopy() *LDAPAttributeMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPAttributeMapping.

func (*LDAPAttributeMapping) DeepCopyInto

func (in *LDAPAttributeMapping) DeepCopyInto(out *LDAPAttributeMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (LDAPAttributeMapping) SwaggerDoc

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

type LDAPPasswordIdentityProvider

LDAPPasswordIdentityProvider provides identities for users authenticating using LDAP credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type LDAPPasswordIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`
    // url is an RFC 2255 URL which specifies the LDAP search parameters to use. The syntax of the URL is
    //    ldap://host:port/basedn?attribute?scope?filter
    URL string `json:"url"`
    // bindDN is an optional DN to bind with during the search phase.
    BindDN string `json:"bindDN"`
    // bindPassword is an optional password to bind with during the search phase.
    BindPassword configv1.StringSource `json:"bindPassword"`

    // insecure, if true, indicates the connection should not use TLS.
    // Cannot be set to true with a URL scheme of "ldaps://"
    // If false, "ldaps://" URLs connect using TLS, and "ldap://" URLs are upgraded to a TLS connection using StartTLS as specified in https://tools.ietf.org/html/rfc2830
    Insecure bool `json:"insecure"`
    // ca is the optional trusted certificate authority bundle to use when making requests to the server
    // If empty, the default system roots are used
    CA string `json:"ca"`
    // attributes maps LDAP attributes to identities
    Attributes LDAPAttributeMapping `json:"attributes"`
}

func (*LDAPPasswordIdentityProvider) DeepCopy

func (in *LDAPPasswordIdentityProvider) DeepCopy() *LDAPPasswordIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPPasswordIdentityProvider.

func (*LDAPPasswordIdentityProvider) DeepCopyInto

func (in *LDAPPasswordIdentityProvider) DeepCopyInto(out *LDAPPasswordIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LDAPPasswordIdentityProvider) DeepCopyObject

func (in *LDAPPasswordIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (LDAPPasswordIdentityProvider) SwaggerDoc

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

type OAuthConfig

OAuthConfig holds the necessary configuration options for OAuth authentication

type OAuthConfig struct {
    // masterCA is the CA for verifying the TLS connection back to the MasterURL.
    // This field is deprecated and will be removed in a future release.
    // See loginURL for details.
    // Deprecated
    MasterCA *string `json:"masterCA"`

    // masterURL is used for making server-to-server calls to exchange authorization codes for access tokens
    // This field is deprecated and will be removed in a future release.
    // See loginURL for details.
    // Deprecated
    MasterURL string `json:"masterURL"`

    // masterPublicURL is used for building valid client redirect URLs for internal and external access
    // This field is deprecated and will be removed in a future release.
    // See loginURL for details.
    // Deprecated
    MasterPublicURL string `json:"masterPublicURL"`

    // loginURL, along with masterCA, masterURL and masterPublicURL have distinct
    // meanings depending on how the OAuth server is run.  The two states are:
    // 1. embedded in the kube api server (all 3.x releases)
    // 2. as a standalone external process (all 4.x releases)
    // in the embedded configuration, loginURL is equivalent to masterPublicURL
    // and the other fields have functionality that matches their docs.
    // in the standalone configuration, the fields are used as:
    // loginURL is the URL required to login to the cluster:
    // oc login --server=<loginURL>
    // masterPublicURL is the issuer URL
    // it is accessible from inside (service network) and outside (ingress) of the cluster
    // masterURL is the loopback variation of the token_endpoint URL with no path component
    // it is only accessible from inside (service network) of the cluster
    // masterCA is used to perform TLS verification for connections made to masterURL
    // For further details, see the IETF Draft:
    // https://tools.ietf.org/html/draft-ietf-oauth-discovery-04#section-2
    LoginURL string `json:"loginURL"`

    // assetPublicURL is used for building valid client redirect URLs for external access
    AssetPublicURL string `json:"assetPublicURL"`

    // alwaysShowProviderSelection will force the provider selection page to render even when there is only a single provider.
    AlwaysShowProviderSelection bool `json:"alwaysShowProviderSelection"`

    //identityProviders is an ordered list of ways for a user to identify themselves
    IdentityProviders []IdentityProvider `json:"identityProviders"`

    // grantConfig describes how to handle grants
    GrantConfig GrantConfig `json:"grantConfig"`

    // sessionConfig hold information about configuring sessions.
    SessionConfig *SessionConfig `json:"sessionConfig"`

    // tokenConfig contains options for authorization and access tokens
    TokenConfig TokenConfig `json:"tokenConfig"`

    // templates allow you to customize pages like the login page.
    Templates *OAuthTemplates `json:"templates"`
}

func (*OAuthConfig) DeepCopy

func (in *OAuthConfig) DeepCopy() *OAuthConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthConfig.

func (*OAuthConfig) DeepCopyInto

func (in *OAuthConfig) DeepCopyInto(out *OAuthConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthConfig) SwaggerDoc

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

type OAuthTemplates

OAuthTemplates allow for customization of pages like the login page

type OAuthTemplates struct {
    // login is a path to a file containing a go template used to render the login page.
    // If unspecified, the default login page is used.
    Login string `json:"login"`

    // providerSelection is a path to a file containing a go template used to render the provider selection page.
    // If unspecified, the default provider selection page is used.
    ProviderSelection string `json:"providerSelection"`

    // error is a path to a file containing a go template used to render error pages during the authentication or grant flow
    // If unspecified, the default error page is used.
    Error string `json:"error"`
}

func (*OAuthTemplates) DeepCopy

func (in *OAuthTemplates) DeepCopy() *OAuthTemplates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthTemplates.

func (*OAuthTemplates) DeepCopyInto

func (in *OAuthTemplates) DeepCopyInto(out *OAuthTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthTemplates) SwaggerDoc

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

type OpenIDClaims

OpenIDClaims contains a list of OpenID claims to use when authenticating with an OpenID identity provider

type OpenIDClaims struct {
    // id is the list of claims whose values should be used as the user ID. Required.
    // OpenID standard identity claim is "sub"
    ID []string `json:"id"`
    // preferredUsername is the list of claims whose values should be used as the preferred username.
    // If unspecified, the preferred username is determined from the value of the id claim
    PreferredUsername []string `json:"preferredUsername"`
    // name is the list of claims whose values should be used as the display name. Optional.
    // If unspecified, no display name is set for the identity
    Name []string `json:"name"`
    // email is the list of claims whose values should be used as the email address. Optional.
    // If unspecified, no email is set for the identity
    Email []string `json:"email"`
    // groups is the list of claims value of which should be used to synchronize groups
    // from the OIDC provider to OpenShift for the user
    Groups []string `json:"groups"`
}

func (*OpenIDClaims) DeepCopy

func (in *OpenIDClaims) DeepCopy() *OpenIDClaims

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDClaims.

func (*OpenIDClaims) DeepCopyInto

func (in *OpenIDClaims) DeepCopyInto(out *OpenIDClaims)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenIDClaims) SwaggerDoc

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

type OpenIDIdentityProvider

OpenIDIdentityProvider provides identities for users authenticating using OpenID credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type OpenIDIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // ca is the optional trusted certificate authority bundle to use when making requests to the server
    // If empty, the default system roots are used
    CA string `json:"ca"`

    // clientID is the oauth client ID
    ClientID string `json:"clientID"`
    // clientSecret is the oauth client secret
    ClientSecret configv1.StringSource `json:"clientSecret"`

    // extraScopes are any scopes to request in addition to the standard "openid" scope.
    ExtraScopes []string `json:"extraScopes"`

    // extraAuthorizeParameters are any custom parameters to add to the authorize request.
    ExtraAuthorizeParameters map[string]string `json:"extraAuthorizeParameters"`

    // urls to use to authenticate
    URLs OpenIDURLs `json:"urls"`

    // claims mappings
    Claims OpenIDClaims `json:"claims"`
}

func (*OpenIDIdentityProvider) DeepCopy

func (in *OpenIDIdentityProvider) DeepCopy() *OpenIDIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDIdentityProvider.

func (*OpenIDIdentityProvider) DeepCopyInto

func (in *OpenIDIdentityProvider) DeepCopyInto(out *OpenIDIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenIDIdentityProvider) DeepCopyObject

func (in *OpenIDIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (OpenIDIdentityProvider) SwaggerDoc

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

type OpenIDURLs

OpenIDURLs are URLs to use when authenticating with an OpenID identity provider

type OpenIDURLs struct {
    // authorize is the oauth authorization URL
    Authorize string `json:"authorize"`
    // token is the oauth token granting URL
    Token string `json:"token"`
    // userInfo is the optional userinfo URL.
    // If present, a granted access_token is used to request claims
    // If empty, a granted id_token is parsed for claims
    UserInfo string `json:"userInfo"`
}

func (*OpenIDURLs) DeepCopy

func (in *OpenIDURLs) DeepCopy() *OpenIDURLs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDURLs.

func (*OpenIDURLs) DeepCopyInto

func (in *OpenIDURLs) DeepCopyInto(out *OpenIDURLs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenIDURLs) SwaggerDoc

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

type OsinServerConfig

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type OsinServerConfig struct {
    metav1.TypeMeta `json:",inline"`

    // provides the standard apiserver configuration
    configv1.GenericAPIServerConfig `json:",inline"`

    // oauthConfig holds the necessary configuration options for OAuth authentication
    OAuthConfig OAuthConfig `json:"oauthConfig"`
}

func (*OsinServerConfig) DeepCopy

func (in *OsinServerConfig) DeepCopy() *OsinServerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsinServerConfig.

func (*OsinServerConfig) DeepCopyInto

func (in *OsinServerConfig) DeepCopyInto(out *OsinServerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OsinServerConfig) DeepCopyObject

func (in *OsinServerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (OsinServerConfig) SwaggerDoc

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

type RequestHeaderIdentityProvider

RequestHeaderIdentityProvider provides identities for users authenticating using request header credentials

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type RequestHeaderIdentityProvider struct {
    metav1.TypeMeta `json:",inline"`

    // loginURL is a URL to redirect unauthenticated /authorize requests to
    // Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here
    // ${url} is replaced with the current URL, escaped to be safe in a query parameter
    //   https://www.example.com/sso-login?then=${url}
    // ${query} is replaced with the current query string
    //   https://www.example.com/auth-proxy/oauth/authorize?${query}
    LoginURL string `json:"loginURL"`

    // challengeURL is a URL to redirect unauthenticated /authorize requests to
    // Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here
    // ${url} is replaced with the current URL, escaped to be safe in a query parameter
    //   https://www.example.com/sso-login?then=${url}
    // ${query} is replaced with the current query string
    //   https://www.example.com/auth-proxy/oauth/authorize?${query}
    ChallengeURL string `json:"challengeURL"`

    // clientCA is a file with the trusted signer certs.  If empty, no request verification is done, and any direct request to the OAuth server can impersonate any identity from this provider, merely by setting a request header.
    ClientCA string `json:"clientCA"`
    // clientCommonNames is an optional list of common names to require a match from. If empty, any client certificate validated against the clientCA bundle is considered authoritative.
    ClientCommonNames []string `json:"clientCommonNames"`

    // headers is the set of headers to check for identity information
    Headers []string `json:"headers"`
    // preferredUsernameHeaders is the set of headers to check for the preferred username
    PreferredUsernameHeaders []string `json:"preferredUsernameHeaders"`
    // nameHeaders is the set of headers to check for the display name
    NameHeaders []string `json:"nameHeaders"`
    // emailHeaders is the set of headers to check for the email address
    EmailHeaders []string `json:"emailHeaders"`
}

func (*RequestHeaderIdentityProvider) DeepCopy

func (in *RequestHeaderIdentityProvider) DeepCopy() *RequestHeaderIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderIdentityProvider.

func (*RequestHeaderIdentityProvider) DeepCopyInto

func (in *RequestHeaderIdentityProvider) DeepCopyInto(out *RequestHeaderIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RequestHeaderIdentityProvider) DeepCopyObject

func (in *RequestHeaderIdentityProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (RequestHeaderIdentityProvider) SwaggerDoc

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

type SessionConfig

SessionConfig specifies options for cookie-based sessions. Used by AuthRequestHandlerSession

type SessionConfig struct {
    // sessionSecretsFile is a reference to a file containing a serialized SessionSecrets object
    // If no file is specified, a random signing and encryption key are generated at each server start
    SessionSecretsFile string `json:"sessionSecretsFile"`
    // sessionMaxAgeSeconds specifies how long created sessions last. Used by AuthRequestHandlerSession
    SessionMaxAgeSeconds int32 `json:"sessionMaxAgeSeconds"`
    // sessionName is the cookie name used to store the session
    SessionName string `json:"sessionName"`
}

func (*SessionConfig) DeepCopy

func (in *SessionConfig) DeepCopy() *SessionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionConfig.

func (*SessionConfig) DeepCopyInto

func (in *SessionConfig) DeepCopyInto(out *SessionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SessionConfig) SwaggerDoc

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

type SessionSecret

SessionSecret is a secret used to authenticate/decrypt cookie-based sessions

type SessionSecret struct {
    // Authentication is used to authenticate sessions using HMAC. Recommended to use a secret with 32 or 64 bytes.
    Authentication string `json:"authentication"`
    // Encryption is used to encrypt sessions. Must be 16, 24, or 32 characters long, to select AES-128, AES-
    Encryption string `json:"encryption"`
}

func (*SessionSecret) DeepCopy

func (in *SessionSecret) DeepCopy() *SessionSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSecret.

func (*SessionSecret) DeepCopyInto

func (in *SessionSecret) DeepCopyInto(out *SessionSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SessionSecret) SwaggerDoc

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

type SessionSecrets

SessionSecrets list the secrets to use to sign/encrypt and authenticate/decrypt created sessions.

Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +openshift:compatibility-gen:internal

type SessionSecrets struct {
    metav1.TypeMeta `json:",inline"`

    // Secrets is a list of secrets
    // New sessions are signed and encrypted using the first secret.
    // Existing sessions are decrypted/authenticated by each secret until one succeeds. This allows rotating secrets.
    Secrets []SessionSecret `json:"secrets"`
}

func (*SessionSecrets) DeepCopy

func (in *SessionSecrets) DeepCopy() *SessionSecrets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSecrets.

func (*SessionSecrets) DeepCopyInto

func (in *SessionSecrets) DeepCopyInto(out *SessionSecrets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SessionSecrets) DeepCopyObject

func (in *SessionSecrets) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (SessionSecrets) SwaggerDoc

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

type TokenConfig

TokenConfig holds the necessary configuration options for authorization and access tokens

type TokenConfig struct {
    // authorizeTokenMaxAgeSeconds defines the maximum age of authorize tokens
    AuthorizeTokenMaxAgeSeconds int32 `json:"authorizeTokenMaxAgeSeconds,omitempty"`
    // accessTokenMaxAgeSeconds defines the maximum age of access tokens
    AccessTokenMaxAgeSeconds int32 `json:"accessTokenMaxAgeSeconds,omitempty"`
    // accessTokenInactivityTimeoutSeconds - DEPRECATED: setting this field has no effect.
    // +optional
    AccessTokenInactivityTimeoutSeconds *int32 `json:"accessTokenInactivityTimeoutSeconds,omitempty"`
    // accessTokenInactivityTimeout defines the token inactivity timeout
    // for tokens granted by any client.
    // The value represents the maximum amount of time that can occur between
    // consecutive uses of the token. Tokens become invalid if they are not
    // used within this temporal window. The user will need to acquire a new
    // token to regain access once a token times out. Takes valid time
    // duration string such as "5m", "1.5h" or "2h45m". The minimum allowed
    // value for duration is 300s (5 minutes). If the timeout is configured
    // per client, then that value takes precedence. If the timeout value is
    // not specified and the client does not override the value, then tokens
    // are valid until their lifetime.
    // +optional
    AccessTokenInactivityTimeout *metav1.Duration `json:"accessTokenInactivityTimeout,omitempty"`
}

func (*TokenConfig) DeepCopy

func (in *TokenConfig) DeepCopy() *TokenConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenConfig.

func (*TokenConfig) DeepCopyInto

func (in *TokenConfig) DeepCopyInto(out *TokenConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (TokenConfig) SwaggerDoc

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