Ntb\RestAPI\AuthFactory::createAuth
Returns a new instance of an authentication mechanism depending on the configured type.
Signature
public function createAuth()
Returns
- IAuth
- an instance of an authentication mechanism
public function createAuth()