somecoding/ews-auth

provides an Zend Authentication Adapter for EWS

2.0.0 2020-03-23 13:47 UTC

This package is auto-updated.

Last update: 2024-04-11 19:45:19 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);