MCPcopy Create free account

hub / github.com/caffeinehit/django-oauth2-provider / types & classes

Types & classes68 in github.com/caffeinehit/django-oauth2-provider

↓ 20 callersClassOAuthValidationError
Exception to throw inside :class:`OAuthForm` if any OAuth2 related errors are encountered such as invalid grant type, invalid client, etc.
provider/forms.py:4
↓ 5 callersClassOAuthError
Exception to throw inside any views defined in :attr:`provider.views`. Any :attr:`OAuthError` thrown will be signalled to the API consumer.
provider/views.py:16
↓ 5 callersClassScopeModelChoiceField
provider/oauth2/forms.py:51
↓ 2 callersClassClientAuthForm
Client authentication form. Required to make sure that we're dealing with a real client. Form is used in :attr:`provider.oauth2.backends` to
provider/oauth2/forms.py:29
↓ 2 callersClassClientForm
Form to create new consumers.
provider/oauth2/forms.py:16
↓ 1 callersClassAccessTokenBackend
Authenticate a user via access token and client object.
provider/oauth2/backends.py:113
↓ 1 callersClassAccessTokenManager
provider/oauth2/models.py:141
↓ 1 callersClassAuthorizedClientManager
provider/oauth2/models.py:70
↓ 1 callersClassBasicClientBackend
Backend that tries to authenticate a client through HTTP authorization headers as defined in :rfc:`2.3.1`.
provider/oauth2/backends.py:21
↓ 1 callersClassGrant
Default grant implementation. A grant is a code that can be swapped for an access token. Grants have a limited lifetime as defined by :at
provider/oauth2/models.py:110
↓ 1 callersClassPublicClientForm
provider/oauth2/forms.py:314
↓ 1 callersClassPublicPasswordGrantForm
provider/oauth2/forms.py:287
↓ 1 callersClassRefreshTokenManager
provider/oauth2/models.py:228
↓ 1 callersClassRequestParamsClientBackend
Backend that tries to authenticate a client through request parameters which might be in the request body or URI as defined in :rfc:`2.3.1`.
provider/oauth2/backends.py:50
ClassAccessToken
Default access token implementation. An access token is a time limited token to access a user's resources. Access tokens are outlined :r
provider/oauth2/models.py:163
ClassAccessTokenAdmin
provider/oauth2/admin.py:5
ClassAccessTokenTest
provider/oauth2/tests/test_views.py:213
ClassAccessTokenView
Implementation of :class:`provider.views.AccessToken`. .. note:: This implementation does provide all default grant types defined in
provider/oauth2/views.py:84
ClassAccessTokenViewBase
:attr:`AccessToken` handles creation and refreshing of access tokens. Implementations must implement a number of methods: * :attr:`get_
provider/views.py:365
ClassAuthBackendTest
provider/oauth2/tests/test_views.py:512
ClassAuthUtilMixin
Mixin providing common methods required in the OAuth view defined in :attr:`provider.views`.
provider/views.py:37
ClassAuthorizationCodeGrantForm
Check and return an authorization grant.
provider/oauth2/forms.py:213
ClassAuthorizationForm
A form used to ask the resource owner for authorization of a given client.
provider/oauth2/forms.py:154
ClassAuthorizationRequestForm
This form is used to validate the request data that the authorization endpoint receives from clients. Included data is specified in :rfc
provider/oauth2/forms.py:84
ClassAuthorizationTest
provider/oauth2/tests/test_views.py:70
ClassAuthorizeView
Implementation of :class:`provider.views.Authorize`.
provider/oauth2/views.py:25
ClassAuthorizeViewBase
View to handle the client authorization as outlined in :rfc:`4`. Implementation must override a set of methods: * :attr:`get_redirect_ur
provider/views.py:132
ClassAuthorizedClient
provider/oauth2/models.py:95
ClassAuthorizedClientAdmin
provider/oauth2/admin.py:21
ClassBadScopeView
provider/oauth2/tests/urls.py:26
ClassBaseBackend
Base backend used to authenticate clients as defined in :rfc:`1` against our database.
provider/oauth2/backends.py:8
ClassBaseOAuth2TestCase
provider/oauth2/tests/test_views.py:24
ClassCaptureView
Implementation of :class:`provider.views.Capture`.
provider/oauth2/views.py:11
ClassCaptureViewBase
As stated in section :rfc:`3.1.2.5` this view captures all the request parameters and redirects to another URL to avoid any leakage of reques
provider/views.py:80
ClassClient
Default client implementation. Expected fields: * :attr:`user` * :attr:`name` * :attr:`url` * :attr:`redirect_url` * :a
provider/oauth2/models.py:17
ClassClientAdmin
provider/oauth2/admin.py:15
ClassClientFormTest
provider/oauth2/tests/test_views.py:571
ClassDeleteExpiredTest
provider/oauth2/tests/test_views.py:621
ClassEnforceSecureTest
provider/oauth2/tests/test_views.py:547
ClassGrantAdmin
provider/oauth2/admin.py:10
ClassMeta
provider/oauth2/forms.py:20
ClassMeta
provider/oauth2/models.py:53
ClassMeta
provider/oauth2/models.py:65
ClassMeta
provider/oauth2/models.py:104
ClassMeta
provider/oauth2/models.py:136
ClassMeta
provider/oauth2/models.py:223
ClassMeta
provider/oauth2/models.py:264
ClassMiddlewareTestCase
provider/oauth2/tests/test_middleware.py:12
ClassMigration
provider/oauth2/migrations/0003_public_client_options.py:6
ClassMigration
provider/oauth2/migrations/0001_initial.py:9
ClassMigration
provider/oauth2/migrations/0002_fix_scope_size.py:6
ClassOAuthForm
Form class that creates shallow error dicts and exists early when a :class:`OAuthValidationError` is raised. The shallow error dict is r
provider/forms.py:32
ClassOAuthRegisteredScopes
provider/oauth2/mixins.py:5
ClassOAuthRequiredMixin
provider/oauth2/mixins.py:9
ClassOauth2
provider/oauth2/apps.py:3
ClassOauth2UserMiddleware
Middleware for using OAuth credentials to authenticate requests If the request user is not authenticated the request is checked for oaut
provider/oauth2/middleware.py:13
ClassPasswordGrantForm
Validate the password of a user on a password grant request.
provider/oauth2/forms.py:250
ClassPublicClientBackend
provider/oauth2/backends.py:96
ClassPublicPasswordBackend
Backend that tries to authenticate a client using username, password and client ID. This is only available in specific circumstances: -
provider/oauth2/backends.py:71
ClassRedirectView
Implementation of :class:`provider.views.Redirect`
provider/oauth2/views.py:77
ClassRedirectViewBase
Redirect the user back to the client with the right query parameters set. This can be either parameters indicating success or parameters indi
provider/views.py:308
ClassRefreshToken
Default refresh token implementation. A refresh token can be swapped for a new access token when said token expires. Expected fields:
provider/oauth2/models.py:239
ClassRefreshTokenGrantForm
Checks and returns a refresh token.
provider/oauth2/forms.py:173
ClassScope
provider/oauth2/models.py:58
ClassScopeModelMixin
provider/oauth2/forms.py:74
ClassScopeTest
provider/oauth2/tests/test_views.py:587
ClassUserView
provider/oauth2/tests/urls.py:13
ClassUtilsTestCase
provider/tests/test_utils.py:8