Differential D15593 Diff 37613 src/applications/conduit/method/ConduitGetCapabilitiesConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/method/ConduitGetCapabilitiesConduitAPIMethod.php
Show All 18 Lines | final class ConduitGetCapabilitiesConduitAPIMethod extends ConduitAPIMethod { | ||||
protected function defineParamTypes() { | protected function defineParamTypes() { | ||||
return array(); | return array(); | ||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'dict<string, any>'; | return 'dict<string, any>'; | ||||
} | } | ||||
public function getRequiredScope() { | |||||
return self::SCOPE_ALWAYS; | |||||
} | |||||
protected function execute(ConduitAPIRequest $request) { | protected function execute(ConduitAPIRequest $request) { | ||||
$authentication = array( | $authentication = array( | ||||
'token', | 'token', | ||||
'asymmetric', | 'asymmetric', | ||||
'session', | 'session', | ||||
'sessionless', | 'sessionless', | ||||
); | ); | ||||
Show All 22 Lines |