somecoding / ews-auth
provides an Zend Authentication Adapter for EWS
2.0.0
2020-03-23 13:47 UTC
Requires
- ext-curl: *
- ext-soap: *
- laminas/laminas-authentication: ^2.6
- laminas/laminas-dependency-plugin: ^1.0
- php-ews/php-ews: ^1.0
This package is auto-updated.
Last update: 2025-03-11 21:44:54 UTC
README
This is an EWS authentication adapter for laminas/laminas-authentication. It may be used to authenticate against a OWA / EWS System. It might be useful for you when you have an external application with users from a AD-domain and an LDAP server is not available.
How to install
For installing you currently need to specify a version of this project as this project is currently not stable.
Simply do: "composer require somecoding/ews-auth:0.0.x" in your project where x ist the latest version number.
Usage:
$username = 'test-account'; $password = 'test-password'; $options = [ 'server' => 'owa.example.com', 'domain' => 'example', // optional (is added in front of username: example\username) 'clientVersion' => 'Exchange2013_SP1' //optional ]; $auth = new \EwsAuthAdapter\Ews($options, $username, $password);