Credentials

This documentation provides details about the Credentials class within the pyews package.

This class is used to store authentication credentials and is used when calling all service endpoints.

Creates a credential object for communicating with EWS

Example:

Here is a basic example of createing a new Credentials object

creds = Credentials(
    'first.last@company.com',
    'mypassword123'
)

You can access your credential properties, including a domain property like this:

print(creds.email_address)
print(creds.password)
print(creds.domain)
Args:
email_address (str): The email address used in the EWS SOAP request password (str): The password used in the EWS SOAP request
pyews.Credentials.domain