Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories

Classes

  • ApiV2Authenticator
  • FontAwesomeIconClassProvider
  • GXSmarty
  • ManufacturerServiceFactory
  • ProductRepositoryDeleteHelper
  • Smarty_Resource_Get_Usermod
  • ZonesController

Traits

  • ContentManagerContentNavigationTrait

Functions

  • smarty_function_check_magna_execute
  • smarty_function_check_mailbeez_menu
  • smarty_function_get_sub_categories
  • smarty_function_gm_footer
  • smarty_function_gm_get_conf
  • smarty_function_gm_gmotion
  • smarty_function_gm_gprint
  • smarty_function_gm_menuboxes
  • smarty_function_html_shop_offline
  • smarty_function_is_filemanager_available
  • smarty_function_load_env_array
  • smarty_function_load_language_text
  • smarty_function_object_product_list
  • smarty_function_page_url
  • smarty_function_pre_black_container
  • smarty_modifier_gm_get_conf
  • smarty_modifier_gm_get_env_info
  • smarty_modifier_has_children
  • smarty_modifier_xtc_href_link
  • smarty_outputfilter_note
  • smarty_php_tag

Class ApiV2Authenticator

Located at Controllers/Api/v2/ApiV2Authenticator.inc.php

Methods summary

public
# __construct( Slim\Slim $api, array $uri )

ApiV2Authenticator constructor.

ApiV2Authenticator constructor.

Parameters

$api
$uri
public
# authorize( )

Authorize request with HTTP Basic Authorization

Authorize request with HTTP Basic Authorization

Call this method in every API operation that needs to be authorized with the HTTP Basic Authorization technique.

Throws

HttpApiV2Exception

If request does not provide the "Authorization" header or if the credentials are invalid.


InvalidArgumentException
If the username or password values are invalid.

Link

Not available to child-controllers (private method).

Properties summary

protected Slim\Slim $api
#
protected array $uri
#
API documentation generated by ApiGen