mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Compare commits
2
Commits
master
...
0231d4474c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0231d4474c | ||
|
|
9e99cec52e |
Vendored
+15
-10
@@ -17,20 +17,25 @@ paths:
|
|||||||
summary: Authenticate request
|
summary: Authenticate request
|
||||||
description: |-
|
description: |-
|
||||||
Authenticates the current request based on proxy headers or JWT token.
|
Authenticates the current request based on proxy headers or JWT token.
|
||||||
Returns user role and permissions for camera access.
|
|
||||||
This endpoint verifies authentication credentials and manages JWT token refresh.
|
This endpoint verifies authentication credentials and manages JWT token refresh.
|
||||||
|
On success, no JSON body is returned; authentication state is communicated via response headers and cookies.
|
||||||
operationId: auth_auth_get
|
operationId: auth_auth_get
|
||||||
responses:
|
responses:
|
||||||
"200":
|
|
||||||
description: Successful Response
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema: {}
|
|
||||||
"202":
|
"202":
|
||||||
description: Authentication Accepted
|
description: Authentication Accepted (no response body, different headers depending on auth method)
|
||||||
content:
|
headers:
|
||||||
application/json:
|
remote-user:
|
||||||
schema: {}
|
description: Authenticated username or "anonymous" in proxy-only mode
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
remote-role:
|
||||||
|
description: Resolved role (e.g., admin, viewer, or custom)
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
Set-Cookie:
|
||||||
|
description: May include refreshed JWT cookie ("frigate-token") when applicable
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
"401":
|
"401":
|
||||||
description: Authentication Failed
|
description: Authentication Failed
|
||||||
/profile:
|
/profile:
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ class ONNXModelRunner(BaseModelRunner):
|
|||||||
|
|
||||||
return model_type in [
|
return model_type in [
|
||||||
EnrichmentModelTypeEnum.paddleocr.value,
|
EnrichmentModelTypeEnum.paddleocr.value,
|
||||||
|
EnrichmentModelTypeEnum.yolov9_license_plate.value,
|
||||||
EnrichmentModelTypeEnum.jina_v1.value,
|
EnrichmentModelTypeEnum.jina_v1.value,
|
||||||
EnrichmentModelTypeEnum.jina_v2.value,
|
EnrichmentModelTypeEnum.jina_v2.value,
|
||||||
EnrichmentModelTypeEnum.facenet.value,
|
EnrichmentModelTypeEnum.facenet.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user