Documentation ¶
Index ¶
Constants ¶
View Source
const ConsumerKey contextKey = "consumer"
ConsumerKey missing godoc
Variables ¶
View Source
var NoConsumerError = apperrors.NewInternalError("cannot read consumer from context")
NoConsumerError missing godoc
Functions ¶
Types ¶
type Consumer ¶
type Consumer struct { ConsumerID string `json:"ConsumerID"` Type `json:"ConsumerType"` Flow oathkeeper.AuthFlow `json:"Flow"` OnBehalfOf string `json:"onBehalfOf"` Region string `json:"region"` Subject string `json:"subject"` TokenClientID string `json:"tokenClientID"` }
Consumer missing godoc
type Type ¶
type Type string
Type missing godoc
const ( // Runtime represents a runtime consumer type Runtime Type = "Runtime" // ExternalCertificate missing godoc ExternalCertificate Type = "External Certificate" // Application represents an application consumer type Application Type = "Application" // IntegrationSystem represents an integration system consumer type IntegrationSystem Type = "Integration System" // User missing godoc User Type = "Static User" // SuperAdmin is a consumer type that is used only in our tests SuperAdmin Type = "Super Admin" // TechnicalClient is a consumer type that is used by Atom TechnicalClient Type = "Technical Client" // BusinessIntegration is a consumer type that is used by Business Integration operator BusinessIntegration Type = "Business Integration" // ManagedApplicationProviderOperator is a consumer type that is used by Managed Application Provider operator ManagedApplicationProviderOperator Type = "Managed Application Provider Operator" // ManagedApplicationConsumer is a consumer type that is used by Managed Application Provider operator // when creating Certificate Subject Mappings ManagedApplicationConsumer Type = "Managed Application Consumer" // ApplicationProvider is type that provides application templates and consumes ORD data ApplicationProvider Type = "Application Provider" // LandscapeResourceOperator is a consumer type that is used by Landscape Resource operator LandscapeResourceOperator Type = "Landscape Resource Operator" // TenantDiscoveryOperator is a consumer type that is used by Tenant Discovery operator TenantDiscoveryOperator Type = "Tenant Discovery Operator" // InstanceCreator is a consumer type that is used by Instance Creator operator InstanceCreator Type = "Instance Creator" // FormationViewer is a consumer type that is used by Instance Creator operator FormationViewer Type = "Formation Viewer" )
func MapSystemAuthToConsumerType ¶
func MapSystemAuthToConsumerType(refObj model.SystemAuthReferenceObjectType) (Type, error)
MapSystemAuthToConsumerType missing godoc
Click to show internal directories.
Click to hide internal directories.