Versions in this module Expand all Collapse all v0 v0.0.3 Jun 13, 2017 v0.0.2 Jun 13, 2017 Changes in this version + func Authorize(ctx context.Context, spaceID string) (bool, error) + func InjectAuthzService(service AuthzService) goa.Middleware + type AuthorizationPayload struct + Permissions []Permissions + type AuthzConfiguration interface + GetKeycloakEndpointEntitlement func(*goa.RequestData) (string, error) + type AuthzService interface + Authorize func(ctx context.Context, entitlementEndpoint string, spaceID string) (bool, error) + Configuration func() AuthzConfiguration + type AuthzServiceManager interface + AuthzService func() AuthzService + EntitlementEndpoint func() string + type KeycloakAuthzService struct + func NewAuthzService(config AuthzConfiguration, db application.DB) *KeycloakAuthzService + func (s *KeycloakAuthzService) Authorize(ctx context.Context, entitlementEndpoint string, spaceID string) (bool, error) + func (s *KeycloakAuthzService) Configuration() AuthzConfiguration + type KeycloakAuthzServiceManager struct + Service AuthzService + func (m *KeycloakAuthzServiceManager) AuthzService() AuthzService + func (m *KeycloakAuthzServiceManager) EntitlementEndpoint() string + type Permissions struct + ResourceSetID *string + ResourceSetName *string + type TokenPayload struct + Authorization *AuthorizationPayload