MSOpenTech/azure-activedirectory-library-for-ios — pull request #21 by borisvidolov (2014-01-17 01:36:23+00:00)
Title: Instance discovery and authority canonicalization updates

1. Adds the Azure Active Directory clouds as valid instances
2. Detects ADFS authorities and generates meaningful error message on attempts to validate such authority.
3. Canonicalizes the authority to remove any additional paths or fragments beyond the tenant.
4. Canonicalization detects missing tenant and invalidates the authority