TIP: You can type at any time to perform a new search.
Fastapi Auth Partner
fastapi_auth_partner · OCA/rest-framework
- Repository
- OCA/rest-framework · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/rest-framework
- Last tracking update
- 2026-08-07 08:42:49
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Sébastien BEAU, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- itsdangerous, extendable-pydantic>=1.2.0, pydantic>=2.0.0, a2wsgi>=1.10.6, fastapi>=0.110.0, parse-accept-language, python-multipart, ujson, extendable>=0.0.4, pyjwt, requests
- System dependencies
- None
- Required by
- None
- Description
This module is the FastAPI implementation of [auth_partner](../auth_partner) it provides all the routes to manage the authentication of partners.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_directory_view_form |
auth.directory | form | Inherits auth_partner.auth_directory_view_form | |
auth_partner_view_form |
auth.partner | form | Inherits auth_partner.auth_partner_view_form | |
fastapi_endpoint_view_form |
fastapi.endpoint | form | Inherits fastapi.fastapi_endpoint_form_view | |
wizard_auth_partner_impersonate_view_form |
wizard.auth.partner.impersonate | form | New | |
wizard_auth_partner_reset_password_view_form |
wizard.auth.partner.reset.password | form | Inherits auth_partner.wizard_auth_partner_reset_password_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (4)
-
cookie_durationIntegerdefault=525600help='In minute, default 525600 minutes => 1 year'required=True -
cookie_secret_keyChardefault=<expr>groups='base.group_system'help='The secret key used to sign the cookie'required=True -
fastapi_endpoint_idsOne2many → fastapi.endpointstring='FastAPI Endpoints' args: 'fastapi.endpoint', 'directory_id' -
sliding_sessionBoolean
-
action_regenerate_cookie_secret_key(self)
New fields (0)
No new fields.
Public methods (1)-
local_impersonate(self)Local impersonate for dev mode
New fields (2)
-
directory_idMany2one → auth.directoryargs: 'auth.directory' -
endpoint_idMany2one → fastapi.endpointrequired=True args: 'fastapi.endpoint'
-
new(self, vals, **kwargs)
New fields (4)
-
appSelectionondelete={'demo': 'cascade'}selection_add=[('demo', 'Demo Endpoint')] -
demo_auth_methodSelectionselection_add=[('auth_partner', 'Partner Auth')]string='Authentication method' -
directory_idMany2one → auth.directoryargs: 'auth.directory' -
is_auth_partnerBooleancompute='_compute_is_auth_partner'help='Technical field to know if the auth method is partner'
No public methods.
New fields (3)
-
auth_directory_idMany2one → auth.directoryrelated='auth_partner_id.directory_id' args: 'auth.directory' -
auth_partner_idMany2one → auth.partnerrequired=True args: 'auth.partner' -
fastapi_endpoint_idMany2one → fastapi.endpointrequired=True args: 'fastapi.endpoint'
-
action_impersonate(self)
New fields (1)
-
fastapi_endpoint_idMany2one → fastapi.endpointargs: 'fastapi.endpoint'
-
action_reset_password(self)
Loading…