2023-06-22 22:12:33 +00:00
|
|
|
// Copyright 2023 the Pinniped contributors. All Rights Reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-06-22 20:12:50 +00:00
|
|
|
package resolvedprovider
|
|
|
|
|
|
|
|
import (
|
2023-06-22 22:12:33 +00:00
|
|
|
"go.pinniped.dev/internal/federationdomain/upstreamprovider"
|
2023-06-22 20:12:50 +00:00
|
|
|
"go.pinniped.dev/internal/idtransform"
|
|
|
|
"go.pinniped.dev/internal/psession"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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.
|
|
|
|
type FederationDomainResolvedOIDCIdentityProvider struct {
|
|
|
|
DisplayName string
|
|
|
|
Provider upstreamprovider.UpstreamOIDCIdentityProviderI
|
|
|
|
SessionProviderType psession.ProviderType
|
|
|
|
Transforms *idtransform.TransformationPipeline
|
|
|
|
}
|
|
|
|
|
|
|
|
// FederationDomainResolvedLDAPIdentityProvider represents a FederationDomainIdentityProvider which has
|
|
|
|
// been resolved dynamically based on the currently loaded IDP CRs to include the provider.UpstreamLDAPIdentityProviderI
|
|
|
|
// and other metadata about the provider.
|
|
|
|
type FederationDomainResolvedLDAPIdentityProvider struct {
|
|
|
|
DisplayName string
|
|
|
|
Provider upstreamprovider.UpstreamLDAPIdentityProviderI
|
|
|
|
SessionProviderType psession.ProviderType
|
|
|
|
Transforms *idtransform.TransformationPipeline
|
|
|
|
}
|