Admin Config O Auth Dto
immichpy.client.generated.models.admin_config_o_auth_dto.AdminConfigOAuthDto
pydantic-model
Bases: BaseModel
AdminConfigOAuthDto
Show JSON schema:
{
"$defs": {
"OAuthTokenEndpointAuthMethod": {
"description": "OAuth token endpoint auth method",
"enum": [
"client_secret_post",
"client_secret_basic"
],
"title": "OAuthTokenEndpointAuthMethod",
"type": "string"
}
},
"description": "AdminConfigOAuthDto",
"properties": {
"accountManagementUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "",
"description": "Account management URL",
"title": "Accountmanagementurl"
},
"allowInsecureRequests": {
"description": "Allow insecure requests",
"title": "Allowinsecurerequests",
"type": "boolean"
},
"autoLaunch": {
"description": "Auto launch",
"title": "Autolaunch",
"type": "boolean"
},
"autoRegister": {
"description": "Auto register",
"title": "Autoregister",
"type": "boolean"
},
"buttonText": {
"description": "Button text",
"title": "Buttontext",
"type": "string"
},
"clientId": {
"description": "Client ID",
"title": "Clientid",
"type": "string"
},
"clientSecret": {
"description": "Client secret",
"title": "Clientsecret",
"type": "string"
},
"defaultStorageQuota": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "Default storage quota",
"title": "Defaultstoragequota"
},
"enabled": {
"description": "Enabled",
"title": "Enabled",
"type": "boolean"
},
"endSessionEndpoint": {
"description": "End session endpoint",
"title": "Endsessionendpoint",
"type": "string"
},
"issuerUrl": {
"description": "Issuer URL",
"title": "Issuerurl",
"type": "string"
},
"mobileOverrideEnabled": {
"description": "Mobile override enabled",
"title": "Mobileoverrideenabled",
"type": "boolean"
},
"mobileRedirectUri": {
"description": "Mobile redirect URI (set to empty string to disable)",
"title": "Mobileredirecturi",
"type": "string"
},
"profileSigningAlgorithm": {
"description": "Profile signing algorithm",
"title": "Profilesigningalgorithm",
"type": "string"
},
"prompt": {
"description": "OAuth prompt parameter (e.g. select_account, login, consent)",
"title": "Prompt",
"type": "string"
},
"roleClaim": {
"description": "Role claim",
"title": "Roleclaim",
"type": "string"
},
"scope": {
"description": "Scope",
"title": "Scope",
"type": "string"
},
"signingAlgorithm": {
"description": "Signing algorithm",
"title": "Signingalgorithm",
"type": "string"
},
"storageLabelClaim": {
"description": "Storage label claim",
"title": "Storagelabelclaim",
"type": "string"
},
"storageQuotaClaim": {
"description": "Storage quota claim",
"title": "Storagequotaclaim",
"type": "string"
},
"timeout": {
"description": "Timeout",
"maximum": 9007199254740991,
"minimum": 1,
"title": "Timeout",
"type": "integer"
},
"tokenEndpointAuthMethod": {
"$ref": "#/$defs/OAuthTokenEndpointAuthMethod"
}
},
"required": [
"allowInsecureRequests",
"autoLaunch",
"autoRegister",
"buttonText",
"clientId",
"clientSecret",
"defaultStorageQuota",
"enabled",
"endSessionEndpoint",
"issuerUrl",
"mobileOverrideEnabled",
"mobileRedirectUri",
"profileSigningAlgorithm",
"prompt",
"roleClaim",
"scope",
"signingAlgorithm",
"storageLabelClaim",
"storageQuotaClaim",
"timeout",
"tokenEndpointAuthMethod"
],
"title": "AdminConfigOAuthDto",
"type": "object"
}
Config:
validate_by_name:Truevalidate_by_alias:Truevalidate_assignment:Trueprotected_namespaces:()
Fields:
-
account_management_url(Optional[StrictStr]) -
allow_insecure_requests(StrictBool) -
auto_launch(StrictBool) -
auto_register(StrictBool) -
button_text(StrictStr) -
client_id(StrictStr) -
client_secret(StrictStr) -
default_storage_quota(Optional[Annotated[int, Field(le=9007199254740991, strict=True, ge=0)]]) -
enabled(StrictBool) -
end_session_endpoint(StrictStr) -
issuer_url(StrictStr) -
mobile_override_enabled(StrictBool) -
mobile_redirect_uri(StrictStr) -
profile_signing_algorithm(StrictStr) -
prompt(StrictStr) -
role_claim(StrictStr) -
scope(StrictStr) -
signing_algorithm(StrictStr) -
storage_label_claim(StrictStr) -
storage_quota_claim(StrictStr) -
timeout(Annotated[int, Field(le=9007199254740991, strict=True, ge=1)]) -
token_endpoint_auth_method(OAuthTokenEndpointAuthMethod)
account_management_url
pydantic-field
account_management_url: Optional[StrictStr] = ''
Account management URL
allow_insecure_requests
pydantic-field
allow_insecure_requests: StrictBool
Allow insecure requests
auto_launch
pydantic-field
auto_launch: StrictBool
Auto launch
auto_register
pydantic-field
auto_register: StrictBool
Auto register
button_text
pydantic-field
button_text: StrictStr
Button text
client_id
pydantic-field
client_id: StrictStr
Client ID
client_secret
pydantic-field
client_secret: StrictStr
Client secret
default_storage_quota
pydantic-field
default_storage_quota: Optional[Annotated[int, Field(le=9007199254740991, strict=True, ge=0)]]
Default storage quota
enabled
pydantic-field
enabled: StrictBool
Enabled
end_session_endpoint
pydantic-field
end_session_endpoint: StrictStr
End session endpoint
issuer_url
pydantic-field
issuer_url: StrictStr
Issuer URL
mobile_override_enabled
pydantic-field
mobile_override_enabled: StrictBool
Mobile override enabled
mobile_redirect_uri
pydantic-field
mobile_redirect_uri: StrictStr
Mobile redirect URI (set to empty string to disable)
profile_signing_algorithm
pydantic-field
profile_signing_algorithm: StrictStr
Profile signing algorithm
prompt
pydantic-field
prompt: StrictStr
OAuth prompt parameter (e.g. select_account, login, consent)
role_claim
pydantic-field
role_claim: StrictStr
Role claim
scope
pydantic-field
scope: StrictStr
Scope
signing_algorithm
pydantic-field
signing_algorithm: StrictStr
Signing algorithm
storage_label_claim
pydantic-field
storage_label_claim: StrictStr
Storage label claim
storage_quota_claim
pydantic-field
storage_quota_claim: StrictStr
Storage quota claim
timeout
pydantic-field
timeout: Annotated[int, Field(le=9007199254740991, strict=True, ge=1)]
Timeout
from_dict
classmethod
from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of AdminConfigOAuthDto from a dict
Source code in immichpy/client/generated/models/admin_config_o_auth_dto.py
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | |
from_json
classmethod
from_json(json_str: str) -> Optional[Self]
Create an instance of AdminConfigOAuthDto from a JSON string
Source code in immichpy/client/generated/models/admin_config_o_auth_dto.py
124 125 126 127 | |
to_dict
to_dict() -> Dict[str, Any]
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
self.model_dump(by_alias=True):
Noneis only added to the output dict for nullable fields that were set at model initialization. Other fields with valueNoneare ignored.
Source code in immichpy/client/generated/models/admin_config_o_auth_dto.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | |
to_json
to_json() -> str
Returns the JSON representation of the model using alias
Source code in immichpy/client/generated/models/admin_config_o_auth_dto.py
120 121 122 | |
to_str
to_str() -> str
Returns the string representation of the model using alias
Source code in immichpy/client/generated/models/admin_config_o_auth_dto.py
116 117 118 | |