photoprism/pkg/rnd
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
..
bytes.go Auth: Add RandomBytes() to generate secure random bytes #98 #782 2022-09-28 13:38:08 +02:00
bytes_test.go Auth: Add RandomBytes() to generate secure random bytes #98 #782 2022-09-28 13:38:08 +02:00
contains.go Auth: Remember ownership of uploaded photos and albums #98 #782 2022-09-30 19:15:10 +02:00
contains_test.go Auth: Remember ownership of uploaded photos and albums #98 #782 2022-09-30 19:15:10 +02:00
crc.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
crc_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
hash.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
hash_test.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
passcode.go 2FA: Add generator for random 16-digit app passwords #808 2023-11-27 19:43:53 +01:00
passcode_test.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
ref_id.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
ref_id_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
rnd.go Links: Change https://photoprism.app/ to https://www.photoprism.app/ 2023-02-08 09:07:42 +01:00
session.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
session_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
token.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
token_test.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
type.go Auth: Remember ownership of uploaded photos and albums #98 #782 2022-09-30 19:15:10 +02:00
type_test.go Auth: Remember ownership of uploaded photos and albums #98 #782 2022-09-30 19:15:10 +02:00
uid.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
uid_test.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
uuid.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
uuid_test.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
validation.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
validation_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00