Browse Source
Merge pull request #323 from marcospereirampj/321-broken-flask_keycloack
fix: import classes in the base module
pull/324/head
v0.28.3
Richard Nemeth
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
35 additions and
1 deletions
-
src/keycloak/__init__.py
|
|
@ -22,7 +22,41 @@ |
|
|
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
|
|
|
|
|
|
from ._version import __version__ |
|
|
|
from .connection import ConnectionManager |
|
|
|
from .exceptions import ( |
|
|
|
KeycloakAuthenticationError, |
|
|
|
KeycloakAuthorizationConfigError, |
|
|
|
KeycloakConnectionError, |
|
|
|
KeycloakDeleteError, |
|
|
|
KeycloakDeprecationError, |
|
|
|
KeycloakError, |
|
|
|
KeycloakGetError, |
|
|
|
KeycloakInvalidTokenError, |
|
|
|
KeycloakOperationError, |
|
|
|
KeycloakPostError, |
|
|
|
KeycloakPutError, |
|
|
|
KeycloakRPTNotFound, |
|
|
|
KeycloakSecretNotFound, |
|
|
|
) |
|
|
|
from .keycloak_admin import KeycloakAdmin |
|
|
|
from .keycloak_openid import KeycloakOpenID |
|
|
|
|
|
|
|
__all__ = ["KeycloakAdmin", "KeycloakOpenID", "__version__"] |
|
|
|
__all__ = [ |
|
|
|
"__version__", |
|
|
|
"ConnectionManager", |
|
|
|
"KeycloakAuthenticationError", |
|
|
|
"KeycloakAuthorizationConfigError", |
|
|
|
"KeycloakConnectionError", |
|
|
|
"KeycloakDeleteError", |
|
|
|
"KeycloakDeprecationError", |
|
|
|
"KeycloakError", |
|
|
|
"KeycloakGetError", |
|
|
|
"KeycloakInvalidTokenError", |
|
|
|
"KeycloakOperationError", |
|
|
|
"KeycloakPostError", |
|
|
|
"KeycloakPutError", |
|
|
|
"KeycloakRPTNotFound", |
|
|
|
"KeycloakSecretNotFound", |
|
|
|
"KeycloakAdmin", |
|
|
|
"KeycloakOpenID", |
|
|
|
] |