mirror of
https://github.com/immich-app/immich.git
synced 2025-06-12 21:38:37 +02:00
feat: configure token endpoint auth method (#17968)
This commit is contained in:
parent
3ce353393a
commit
d89e88bb3f
18 changed files with 249 additions and 44 deletions
open-api
|
@ -10824,6 +10824,13 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"OAuthTokenEndpointAuthMethod": {
|
||||
"enum": [
|
||||
"client_secret_post",
|
||||
"client_secret_basic"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"OnThisDayDto": {
|
||||
"properties": {
|
||||
"year": {
|
||||
|
@ -13404,6 +13411,17 @@
|
|||
},
|
||||
"storageQuotaClaim": {
|
||||
"type": "string"
|
||||
},
|
||||
"timeout": {
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"tokenEndpointAuthMethod": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/OAuthTokenEndpointAuthMethod"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -13421,7 +13439,9 @@
|
|||
"scope",
|
||||
"signingAlgorithm",
|
||||
"storageLabelClaim",
|
||||
"storageQuotaClaim"
|
||||
"storageQuotaClaim",
|
||||
"timeout",
|
||||
"tokenEndpointAuthMethod"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
|
|
@ -1315,6 +1315,8 @@ export type SystemConfigOAuthDto = {
|
|||
signingAlgorithm: string;
|
||||
storageLabelClaim: string;
|
||||
storageQuotaClaim: string;
|
||||
timeout: number;
|
||||
tokenEndpointAuthMethod: OAuthTokenEndpointAuthMethod;
|
||||
};
|
||||
export type SystemConfigPasswordLoginDto = {
|
||||
enabled: boolean;
|
||||
|
@ -3859,6 +3861,10 @@ export enum LogLevel {
|
|||
Error = "error",
|
||||
Fatal = "fatal"
|
||||
}
|
||||
export enum OAuthTokenEndpointAuthMethod {
|
||||
ClientSecretPost = "client_secret_post",
|
||||
ClientSecretBasic = "client_secret_basic"
|
||||
}
|
||||
export enum TimeBucketSize {
|
||||
Day = "DAY",
|
||||
Month = "MONTH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue