fix and update
This commit is contained in:
@@ -66,6 +66,48 @@ export const apiReference: ApiTagGroup[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
tag: 'FedCM / One Tap Login',
|
||||
endpoints: [
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/.well-known/web-identity',
|
||||
summary: 'FedCM web identity manifest',
|
||||
description: 'Манифест Federated Credential Management: provider_urls → /fedcm/config.json.'
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/fedcm/config.json',
|
||||
summary: 'Конфигурация FedCM IdP',
|
||||
description: 'accounts_endpoint, id_assertion_endpoint, login_url, branding.'
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/fedcm/accounts',
|
||||
summary: 'Список аккаунтов FedCM',
|
||||
description: 'Credentialed GET по cookie lendry_fedcm_sess. CORS с credentials для RP.'
|
||||
},
|
||||
{
|
||||
method: 'POST',
|
||||
path: '/fedcm/id_assertion',
|
||||
summary: 'Выдача id_token FedCM',
|
||||
description: 'Тело: client_id, account_id. Возвращает { token } — OIDC id_token.'
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/fedcm/client_metadata',
|
||||
summary: 'Метаданные клиента FedCM',
|
||||
description: 'Query: client_id. privacy_policy_url, terms_of_service_url.'
|
||||
},
|
||||
{
|
||||
method: 'POST',
|
||||
path: '/fedcm/session/sync',
|
||||
summary: 'Синхронизация FedCM cookie',
|
||||
description: 'Bearer access token → установка HttpOnly cookie lendry_fedcm_sess.',
|
||||
auth: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
tag: 'Профиль и биометрия',
|
||||
endpoints: [
|
||||
|
||||
Reference in New Issue
Block a user