getExtension('security'); $extension->addSecurityListenerFactory(new OAuthProxyFactory()); } }