This release contains breaking changes for how to setup your application, but also a bunch of new features.
The new [documentation](https://intility.github.io/fastapi-azure-auth/) contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications.
Features
* Add `v2` token support (and default) for single-tenant applications.
* Full multi-tenant support
* Option to provide a callable which returns valid `iss`(issuers), for those who has multi-tenant applications, but only for specific tenants
Other
* User object is reworked, now also contain `access_token` for easier Azure Graph implementation
* Add support for denying requests with wrong scopes, when `Securiy()` is used (an alternativ to `Depends()`)
* Moved `InvalidAuth` to `exceptions.py`
* Documentation for everything from role checks, guest users, locking down tenants etc.
* No longer inheriting `OAuth2AuthorizationCodeBearer`, solving mypy errors.
* Rename `provider_config.py` to `openid_config.py` and `ProviderConfig()` to `OpenIdConfig()`
* Removal of pre-instance of `provider_config` due to OpenAPI authorization URL issues. This is now instanced on `SingleTenantAzureAuthorizationCodeBearer` or `MultiTenantAzureAuthorizationCodeBearer`.
Features implemented in 16 ( JonasKs )