photoprism/internal/query
Michael Mayer 467f7b1585 OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943
This adds standard OAuth2 client credentials and bearer token support as
well as scope-based authorization checks for REST API clients. Note that
this initial implementation should not be used in production and that
the access token limit has not been implemented yet.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-12 18:42:50 +01:00
..
testdata/directory
account.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
account_test.go
account_uploads.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
account_uploads_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
albums.go Albums: Replace tabs with spaces in SQL query #3481 2023-06-15 17:01:34 +02:00
albums_test.go Albums: Ignore private pictures only if feature is enabled #2570 2022-08-31 17:42:57 +02:00
categories.go
categories_test.go
clients.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
counts.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
counts_test.go
covers.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
covers_test.go
duplicates.go
duplicates_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
errors.go
errors_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
faces.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
faces_test.go Faces: Skip ambiguous embeddings when matching #1497 #3124 2023-02-21 04:49:06 +01:00
file_selection.go Search: Include RAW files in results by default #2040 2023-10-06 02:22:48 +02:00
file_selection_test.go
file_shares.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_shares_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_download.go
file_sync_download_test.go
file_syncs.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_syncs_test.go
files.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
files_hashes.go Auth: Extend account settings with user details and avatar upload #98 2022-10-17 19:07:38 +02:00
files_hashes_test.go
files_test.go Library: Hide private files in "Originals" if user has no permission #98 2023-02-20 18:50:28 +01:00
folders.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
folders_test.go
label.go Index: Add experimental EPS and SVG vector graphics support #1177 #2207 2023-02-11 20:18:04 +01:00
label_test.go
markers.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
markers_test.go
moments.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
moments_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
photo.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
photo_map.go
photo_map_test.go
photo_selection.go Albums: Ignore labels with zero probability when adding all labels #2821 2022-10-31 09:58:50 +01:00
photo_selection_test.go
photo_test.go UX: Add Delete All button to archive page toolbar #272 2023-07-23 17:57:48 +02:00
places.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
places_test.go
purge.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
purge_test.go
query.go Backend: Refactor SQL batch size limit #3124 #3742 2023-10-15 09:46:04 +02:00
query_test.go Backend: Refactor SQL batch size limit #3124 #3742 2023-10-15 09:46:04 +02:00
sessions.go Auth: Refactor sessions API and model #98 2023-03-09 18:45:04 +01:00
sessions_test.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
subjects.go
subjects_test.go
users.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
users_test.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00