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