add a type assertion

This commit is contained in:
Ryan Richard 2023-06-15 10:33:06 -07:00
parent 8f6a12eae4
commit 793d1c6a5d

View File

@ -69,6 +69,9 @@ type FederationDomainIdentityProvidersListerFinderI interface {
FederationDomainIdentityProvidersFinderI FederationDomainIdentityProvidersFinderI
} }
// FederationDomainIdentityProvidersLister implements FederationDomainIdentityProvidersListerFinderI.
var _ FederationDomainIdentityProvidersListerFinderI = (*FederationDomainIdentityProvidersLister)(nil)
// FederationDomainIdentityProvidersLister wraps an UpstreamIdentityProvidersLister. The lister which is being // FederationDomainIdentityProvidersLister wraps an UpstreamIdentityProvidersLister. The lister which is being
// wrapped should contain all valid upstream providers that are currently defined in the Supervisor. // wrapped should contain all valid upstream providers that are currently defined in the Supervisor.
// FederationDomainIdentityProvidersLister provides a lookup method which only looks up IDPs within those which // FederationDomainIdentityProvidersLister provides a lookup method which only looks up IDPs within those which