Documentation ¶
Index ¶
- type FederationDomainResolvedOIDCIdentityProvider
- func (p *FederationDomainResolvedOIDCIdentityProvider) ApplyIDPSpecificSessionDataToSession(session *psession.CustomSessionData, idpSpecificSessionData any)
- func (p *FederationDomainResolvedOIDCIdentityProvider) CloneIDPSpecificSessionDataFromSession(session *psession.CustomSessionData) any
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetDisplayName() string
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryFlows() []v1alpha1.IDPFlow
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryType() v1alpha1.IDPType
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetProvider() upstreamprovider.UpstreamIdentityProviderI
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetSessionProviderType() psession.ProviderType
- func (p *FederationDomainResolvedOIDCIdentityProvider) GetTransforms() *idtransform.TransformationPipeline
- func (p *FederationDomainResolvedOIDCIdentityProvider) Login(ctx context.Context, submittedUsername string, submittedPassword string) (*resolvedprovider.Identity, *resolvedprovider.IdentityLoginExtras, error)
- func (p *FederationDomainResolvedOIDCIdentityProvider) LoginFromCallback(ctx context.Context, authCode string, pkce pkce.Code, nonce nonce.Nonce, ...) (*resolvedprovider.Identity, *resolvedprovider.IdentityLoginExtras, error)
- func (p *FederationDomainResolvedOIDCIdentityProvider) UpstreamAuthorizeRedirectURL(state *resolvedprovider.UpstreamAuthorizeRequestState, ...) (string, error)
- func (p *FederationDomainResolvedOIDCIdentityProvider) UpstreamRefresh(ctx context.Context, identity *resolvedprovider.Identity) (refreshedIdentity *resolvedprovider.RefreshedIdentity, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationDomainResolvedOIDCIdentityProvider ¶
type FederationDomainResolvedOIDCIdentityProvider struct { DisplayName string Provider upstreamprovider.UpstreamOIDCIdentityProviderI SessionProviderType psession.ProviderType Transforms *idtransform.TransformationPipeline }
FederationDomainResolvedOIDCIdentityProvider represents a FederationDomainIdentityProvider which has been resolved dynamically based on the currently loaded IDP CRs to include the provider.UpstreamOIDCIdentityProviderI and other metadata about the provider.
func (*FederationDomainResolvedOIDCIdentityProvider) ApplyIDPSpecificSessionDataToSession ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) ApplyIDPSpecificSessionDataToSession(session *psession.CustomSessionData, idpSpecificSessionData any)
func (*FederationDomainResolvedOIDCIdentityProvider) CloneIDPSpecificSessionDataFromSession ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) CloneIDPSpecificSessionDataFromSession(session *psession.CustomSessionData) any
func (*FederationDomainResolvedOIDCIdentityProvider) GetDisplayName ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetDisplayName() string
func (*FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryFlows ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryFlows() []v1alpha1.IDPFlow
func (*FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryType ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetIDPDiscoveryType() v1alpha1.IDPType
func (*FederationDomainResolvedOIDCIdentityProvider) GetProvider ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetProvider() upstreamprovider.UpstreamIdentityProviderI
func (*FederationDomainResolvedOIDCIdentityProvider) GetSessionProviderType ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetSessionProviderType() psession.ProviderType
func (*FederationDomainResolvedOIDCIdentityProvider) GetTransforms ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) GetTransforms() *idtransform.TransformationPipeline
func (*FederationDomainResolvedOIDCIdentityProvider) Login ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) Login( ctx context.Context, submittedUsername string, submittedPassword string, ) (*resolvedprovider.Identity, *resolvedprovider.IdentityLoginExtras, error)
func (*FederationDomainResolvedOIDCIdentityProvider) LoginFromCallback ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) LoginFromCallback( ctx context.Context, authCode string, pkce pkce.Code, nonce nonce.Nonce, redirectURI string, ) (*resolvedprovider.Identity, *resolvedprovider.IdentityLoginExtras, error)
func (*FederationDomainResolvedOIDCIdentityProvider) UpstreamAuthorizeRedirectURL ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) UpstreamAuthorizeRedirectURL(state *resolvedprovider.UpstreamAuthorizeRequestState, downstreamIssuerURL string) (string, error)
func (*FederationDomainResolvedOIDCIdentityProvider) UpstreamRefresh ¶
func (p *FederationDomainResolvedOIDCIdentityProvider) UpstreamRefresh( ctx context.Context, identity *resolvedprovider.Identity, ) (refreshedIdentity *resolvedprovider.RefreshedIdentity, err error)
Click to show internal directories.
Click to hide internal directories.