mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
491 lines
9.1 KiB
JSON
491 lines
9.1 KiB
JSON
{
|
|
"organizations": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"websiteUrl": "",
|
|
"favicon": "",
|
|
"passwordType": "plain",
|
|
"passwordSalt": "",
|
|
"passwordOptions": [
|
|
"AtLeast6"
|
|
],
|
|
"countryCodes": [
|
|
"US",
|
|
"GB",
|
|
"ES",
|
|
"FR",
|
|
"DE",
|
|
"CN",
|
|
"JP",
|
|
"KR",
|
|
"VN",
|
|
"ID",
|
|
"SG",
|
|
"IN",
|
|
"IT",
|
|
"MY",
|
|
"TR",
|
|
"DZ",
|
|
"IL",
|
|
"PH",
|
|
"NL",
|
|
"PL",
|
|
"FI",
|
|
"SE",
|
|
"UA",
|
|
"KZ"
|
|
],
|
|
"defaultAvatar": "",
|
|
"defaultApplication": "",
|
|
"tags": [],
|
|
"languages": [
|
|
"en",
|
|
"zh",
|
|
"es",
|
|
"fr",
|
|
"de",
|
|
"id",
|
|
"ja",
|
|
"ko",
|
|
"ru",
|
|
"vi",
|
|
"it",
|
|
"ms",
|
|
"tr",
|
|
"ar",
|
|
"he",
|
|
"nl",
|
|
"pl",
|
|
"fi",
|
|
"sv",
|
|
"uk",
|
|
"kk",
|
|
"fa"
|
|
],
|
|
"masterPassword": "",
|
|
"defaultPassword": "",
|
|
"initScore": 2000,
|
|
"enableSoftDeletion": false,
|
|
"isProfilePublic": true,
|
|
"accountItems": []
|
|
}
|
|
],
|
|
"applications": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"logo": "",
|
|
"homepageUrl": "",
|
|
"organization": "",
|
|
"cert": "",
|
|
"enablePassword": true,
|
|
"enableSignUp": true,
|
|
"clientId": "",
|
|
"clientSecret": "",
|
|
"providers": [
|
|
{
|
|
"name": "",
|
|
"canSignUp": true,
|
|
"canSignIn": true,
|
|
"canUnlink": false,
|
|
"prompted": false,
|
|
"alertType": "None"
|
|
}
|
|
],
|
|
"signinMethods": [
|
|
{
|
|
"name": "Password",
|
|
"displayName": "Password",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "Verification code",
|
|
"displayName": "Verification code",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "WebAuthn",
|
|
"displayName": "WebAuthn",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Face ID",
|
|
"displayName": "Face ID",
|
|
"rule": "None"
|
|
}
|
|
],
|
|
"signupItems": [
|
|
{
|
|
"name": "ID",
|
|
"visible": false,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "Random"
|
|
},
|
|
{
|
|
"name": "Username",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Display name",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Confirm password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Agreement",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"rule": "None"
|
|
}
|
|
],
|
|
"grantTypes": [
|
|
"authorization_code",
|
|
"password",
|
|
"client_credentials",
|
|
"token",
|
|
"id_token",
|
|
"refresh_token"
|
|
],
|
|
"redirectUris": [
|
|
"http://localhost:9000/callback"
|
|
],
|
|
"tokenFormat": "JWT",
|
|
"tokenFields": [],
|
|
"expireInHours": 168,
|
|
"failedSigninLimit": 5,
|
|
"failedSigninFrozenTime": 15
|
|
}
|
|
],
|
|
"users": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"type": "normal-user",
|
|
"password": "",
|
|
"displayName": "",
|
|
"avatar": "",
|
|
"email": "",
|
|
"phone": "",
|
|
"countryCode": "",
|
|
"address": [],
|
|
"affiliation": "",
|
|
"tag": "",
|
|
"score": 2000,
|
|
"ranking": 1,
|
|
"isAdmin": true,
|
|
"isForbidden": false,
|
|
"isDeleted": false,
|
|
"signupApplication": "",
|
|
"createdIp": "",
|
|
"groups": []
|
|
}
|
|
],
|
|
"providers": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"category": "",
|
|
"type": ""
|
|
}
|
|
],
|
|
"certs": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"scope": "JWT",
|
|
"type": "x509",
|
|
"cryptoAlgorithm": "RS256",
|
|
"bitSize": 4096,
|
|
"expireInYears": 20,
|
|
"certificate": "",
|
|
"privateKey": ""
|
|
}
|
|
],
|
|
"ldaps": [
|
|
{
|
|
"id": "",
|
|
"owner": "",
|
|
"serverName": "",
|
|
"host": "",
|
|
"port": 389,
|
|
"username": "",
|
|
"password": "",
|
|
"baseDn": "",
|
|
"autoSync": 0,
|
|
"lastSync": ""
|
|
}
|
|
],
|
|
"models": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"modelText": "",
|
|
"displayName": ""
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"actions": [],
|
|
"displayName": "",
|
|
"effect": "",
|
|
"isEnabled": true,
|
|
"model": "",
|
|
"name": "",
|
|
"owner": "",
|
|
"resourceType": "",
|
|
"resources": [],
|
|
"roles": [],
|
|
"users": []
|
|
}
|
|
],
|
|
"payments": [
|
|
{
|
|
"currency": "",
|
|
"detail": "",
|
|
"displayName": "",
|
|
"invoiceRemark": "",
|
|
"invoiceTaxId": "",
|
|
"invoiceTitle": "",
|
|
"invoiceType": "",
|
|
"invoiceUrl": "",
|
|
"message": "",
|
|
"name": "",
|
|
"organization": "",
|
|
"owner": "",
|
|
"payUrl": "",
|
|
"personEmail": "",
|
|
"personIdCard": "",
|
|
"personName": "",
|
|
"personPhone": "",
|
|
"price": 0,
|
|
"productDisplayName": "",
|
|
"productName": "",
|
|
"provider": "",
|
|
"returnUrl": "",
|
|
"state": "",
|
|
"tag": "",
|
|
"type": "",
|
|
"user": ""
|
|
}
|
|
],
|
|
"products": [
|
|
{
|
|
"currency": "",
|
|
"detail": "",
|
|
"displayName": "",
|
|
"image": "",
|
|
"name": "",
|
|
"owner": "",
|
|
"price": 0,
|
|
"providers": [],
|
|
"quantity": 0,
|
|
"returnUrl": "",
|
|
"sold": 0,
|
|
"state": "",
|
|
"tag": ""
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"user": "",
|
|
"provider": "",
|
|
"application": "",
|
|
"tag": "",
|
|
"parent": "",
|
|
"fileName": "",
|
|
"fileType": "",
|
|
"fileFormat": "",
|
|
"url": "",
|
|
"description": ""
|
|
}
|
|
],
|
|
"roles": [
|
|
{
|
|
"displayName": "",
|
|
"isEnabled": true,
|
|
"name": "",
|
|
"owner": "",
|
|
"roles": [],
|
|
"users": []
|
|
}
|
|
],
|
|
"syncers": [
|
|
{
|
|
"affiliationTable": "",
|
|
"avatarBaseUrl": "",
|
|
"database": "",
|
|
"databaseType": "",
|
|
"errorText": "",
|
|
"host": "",
|
|
"isEnabled": false,
|
|
"name": "",
|
|
"organization": "",
|
|
"owner": "",
|
|
"password": "",
|
|
"port": 0,
|
|
"syncInterval": 0,
|
|
"table": "",
|
|
"tableColumns": [
|
|
{
|
|
"casdoorName": "",
|
|
"isHashed": true,
|
|
"name": "",
|
|
"type": "",
|
|
"values": []
|
|
}
|
|
],
|
|
"tablePrimaryKey": "",
|
|
"type": "",
|
|
"user": ""
|
|
}
|
|
],
|
|
"tokens": [
|
|
{
|
|
"accessToken": "",
|
|
"application": "",
|
|
"code": "",
|
|
"codeChallenge": "",
|
|
"codeExpireIn": 0,
|
|
"codeIsUsed": true,
|
|
"createdTime": "",
|
|
"expiresIn": 0,
|
|
"name": "",
|
|
"organization": "",
|
|
"owner": "",
|
|
"refreshToken": "",
|
|
"scope": "",
|
|
"tokenType": "",
|
|
"user": ""
|
|
}
|
|
],
|
|
"webhooks": [
|
|
{
|
|
"contentType": "",
|
|
"events": [],
|
|
"headers": [
|
|
{
|
|
"name": "",
|
|
"value": ""
|
|
}
|
|
],
|
|
"isEnabled": true,
|
|
"isUserExtended": true,
|
|
"method": "",
|
|
"name": "",
|
|
"organization": "",
|
|
"owner": "",
|
|
"url": ""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"manager": "",
|
|
"contactEmail": "",
|
|
"type": "",
|
|
"parent_id": "",
|
|
"isTopGroup": true,
|
|
"title": "",
|
|
"key": "",
|
|
"children": "",
|
|
"isEnabled": true
|
|
}
|
|
],
|
|
"adapters": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"table": "",
|
|
"useSameDb": true,
|
|
"type": "",
|
|
"databaseType": "",
|
|
"database": "",
|
|
"host": "",
|
|
"port": 0,
|
|
"user": "",
|
|
"password": ""
|
|
}
|
|
],
|
|
"enforcers": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"description": "",
|
|
"model": "",
|
|
"adapter": "",
|
|
"enforcer": ""
|
|
}
|
|
],
|
|
"plans": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"description": "",
|
|
"price": 0,
|
|
"currency": "",
|
|
"period": "",
|
|
"product": "",
|
|
"paymentProviders": [],
|
|
"isEnabled": true,
|
|
"role": ""
|
|
}
|
|
],
|
|
"pricings": [
|
|
{
|
|
"owner": "",
|
|
"name": "",
|
|
"displayName": "",
|
|
"description": "",
|
|
"plans": [],
|
|
"isEnabled": true,
|
|
"trialDuration": 0,
|
|
"application": ""
|
|
}
|
|
]
|
|
}
|