Documentation ¶
Index ¶
- Constants
- func NewV2ProviderWrapper(name string, info policyprovider.IntegrationInfo) (policyprovider.Provider, error)
- type ProviderWrapper
- func (p ProviderWrapper) DiscoverApplications(_ policyprovider.IntegrationInfo) ([]policyprovider.ApplicationInfo, error)
- func (p ProviderWrapper) GetApplication(appInfo policyprovider.ApplicationInfo) (idp.AppInfo, error)
- func (p ProviderWrapper) GetPolicyInfo(_ policyprovider.IntegrationInfo, appInfo policyprovider.ApplicationInfo) ([]hexapolicy.PolicyInfo, error)
- func (p ProviderWrapper) Name() string
- func (p ProviderWrapper) SetPolicyInfo(_ policyprovider.IntegrationInfo, appInfo policyprovider.ApplicationInfo, ...) (status int, foundErr error)
Constants ¶
View Source
const ( ProviderTypeCognito string = "cognito" ProviderTypeAzure string = "azure" )
Variables ¶
This section is empty.
Functions ¶
func NewV2ProviderWrapper ¶
func NewV2ProviderWrapper(name string, info policyprovider.IntegrationInfo) (policyprovider.Provider, error)
Types ¶
type ProviderWrapper ¶
type ProviderWrapper struct {
// contains filtered or unexported fields
}
func (ProviderWrapper) DiscoverApplications ¶
func (p ProviderWrapper) DiscoverApplications(_ policyprovider.IntegrationInfo) ([]policyprovider.ApplicationInfo, error)
func (ProviderWrapper) GetApplication ¶
func (p ProviderWrapper) GetApplication(appInfo policyprovider.ApplicationInfo) (idp.AppInfo, error)
func (ProviderWrapper) GetPolicyInfo ¶
func (p ProviderWrapper) GetPolicyInfo(_ policyprovider.IntegrationInfo, appInfo policyprovider.ApplicationInfo) ([]hexapolicy.PolicyInfo, error)
func (ProviderWrapper) Name ¶
func (p ProviderWrapper) Name() string
func (ProviderWrapper) SetPolicyInfo ¶
func (p ProviderWrapper) SetPolicyInfo(_ policyprovider.IntegrationInfo, appInfo policyprovider.ApplicationInfo, infos []hexapolicy.PolicyInfo) (status int, foundErr error)
Click to show internal directories.
Click to hide internal directories.