simple_openid_connect.integrations.django.views¶
View functions which handle openid authentication and their related callbacks
Classes
|
A view which handles Openid front-channel logout notifications by logging out the current session |
|
The view which handles initiating a login. |
|
The view which handles login callbacks. |
|
The view which handles logging a user out. |
Exceptions
Exception that is thrown when the LoginCallbackView is served and the user-agent has no authentication procedure currently in progress |
|
Exception that is thrown when an authentication response contains an invalid or no nonce value |
- class simple_openid_connect.integrations.django.views.FrontChannelLogoutNotificationView(**kwargs)[source]¶
A view which handles Openid front-channel logout notifications by logging out the current session
- class simple_openid_connect.integrations.django.views.InitLoginView(**kwargs)[source]¶
The view which handles initiating a login.
It essentially redirects the user agent to the Openid provider.
- exception simple_openid_connect.integrations.django.views.InvalidAuthStateError[source]¶
Exception that is thrown when the LoginCallbackView is served and the user-agent has no authentication procedure currently in progress
- exception simple_openid_connect.integrations.django.views.InvalidNonceError[source]¶
Exception that is thrown when an authentication response contains an invalid or no nonce value
- class simple_openid_connect.integrations.django.views.LoginCallbackView(**kwargs)[source]¶
The view which handles login callbacks.
It handles an authentication response from the Openid provider that is encoded in the current url by either logging the user in or rendering the error.
Error rendering can be customized by overwriting the template simple_openid_connect/login_failed.html which receives the context token_response of type
TokenErrorResponse.