@absolutejs/auth 0.37.0 → 0.40.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +77 -0
- package/dist/index.js +901 -213
- package/dist/index.js.map +17 -12
- package/dist/oidc/config.d.ts +2 -0
- package/dist/oidc/inMemoryVciStores.d.ts +3 -0
- package/dist/oidc/routes.d.ts +1 -0
- package/dist/oidc/vci.d.ts +159 -0
- package/dist/oidc/vciRoutes.d.ts +92 -0
- package/dist/scim/config.d.ts +2 -0
- package/dist/scim/extensions.d.ts +30 -0
- package/dist/scim/routes.d.ts +71 -1
- package/dist/scim/serialize.d.ts +40 -2
- package/dist/scim/types.d.ts +2 -0
- package/dist/vc/sdJwt.d.ts +37 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13418,6 +13418,76 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13418
13418
|
};
|
|
13419
13419
|
};
|
|
13420
13420
|
};
|
|
13421
|
+
} & {
|
|
13422
|
+
[x: string]: {
|
|
13423
|
+
get: {
|
|
13424
|
+
body: unknown;
|
|
13425
|
+
params: {};
|
|
13426
|
+
query: unknown;
|
|
13427
|
+
headers: unknown;
|
|
13428
|
+
response: {
|
|
13429
|
+
200: Response;
|
|
13430
|
+
};
|
|
13431
|
+
};
|
|
13432
|
+
};
|
|
13433
|
+
} & {
|
|
13434
|
+
[x: string]: {
|
|
13435
|
+
get: {
|
|
13436
|
+
body: unknown;
|
|
13437
|
+
params: {
|
|
13438
|
+
id: string;
|
|
13439
|
+
};
|
|
13440
|
+
query: unknown;
|
|
13441
|
+
headers: unknown;
|
|
13442
|
+
response: {
|
|
13443
|
+
200: Response;
|
|
13444
|
+
422: {
|
|
13445
|
+
type: "validation";
|
|
13446
|
+
on: string;
|
|
13447
|
+
summary?: string;
|
|
13448
|
+
message?: string;
|
|
13449
|
+
found?: unknown;
|
|
13450
|
+
property?: string;
|
|
13451
|
+
expected?: string;
|
|
13452
|
+
};
|
|
13453
|
+
};
|
|
13454
|
+
};
|
|
13455
|
+
};
|
|
13456
|
+
} & {
|
|
13457
|
+
[x: string]: {
|
|
13458
|
+
get: {
|
|
13459
|
+
body: unknown;
|
|
13460
|
+
params: {};
|
|
13461
|
+
query: unknown;
|
|
13462
|
+
headers: unknown;
|
|
13463
|
+
response: {
|
|
13464
|
+
200: Response;
|
|
13465
|
+
};
|
|
13466
|
+
};
|
|
13467
|
+
};
|
|
13468
|
+
} & {
|
|
13469
|
+
[x: string]: {
|
|
13470
|
+
get: {
|
|
13471
|
+
body: unknown;
|
|
13472
|
+
params: {
|
|
13473
|
+
id: string;
|
|
13474
|
+
};
|
|
13475
|
+
query: unknown;
|
|
13476
|
+
headers: unknown;
|
|
13477
|
+
response: {
|
|
13478
|
+
200: Response;
|
|
13479
|
+
422: {
|
|
13480
|
+
type: "validation";
|
|
13481
|
+
on: string;
|
|
13482
|
+
summary?: string;
|
|
13483
|
+
message?: string;
|
|
13484
|
+
found?: unknown;
|
|
13485
|
+
property?: string;
|
|
13486
|
+
expected?: string;
|
|
13487
|
+
};
|
|
13488
|
+
};
|
|
13489
|
+
};
|
|
13490
|
+
};
|
|
13421
13491
|
}))) & ({} | {
|
|
13422
13492
|
[x: string]: {
|
|
13423
13493
|
post: {
|
|
@@ -13499,6 +13569,7 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13499
13569
|
client_assertion?: string | undefined;
|
|
13500
13570
|
client_assertion_type?: string | undefined;
|
|
13501
13571
|
code_verifier?: string | undefined;
|
|
13572
|
+
'pre-authorized_code'?: string | undefined;
|
|
13502
13573
|
subject_token?: string | undefined;
|
|
13503
13574
|
subject_token_type?: string | undefined;
|
|
13504
13575
|
};
|
|
@@ -15137,7 +15208,13 @@ export * from './sso/types';
|
|
|
15137
15208
|
export * from './sso/config';
|
|
15138
15209
|
export * from './scim/types';
|
|
15139
15210
|
export * from './scim/config';
|
|
15211
|
+
export * from './scim/extensions';
|
|
15140
15212
|
export { scimRoutes } from './scim/routes';
|
|
15213
|
+
export * from './vc/sdJwt';
|
|
15214
|
+
export { buildIssuerMetadata, createCredentialOffer, DEFAULT_VCI_ROUTE, exchangePreAuthorizedCode, issueCredential, PRE_AUTHORIZED_CODE_GRANT } from './oidc/vci';
|
|
15215
|
+
export type { CredentialConfiguration, CredentialIssueInput, CredentialIssueResult, CredentialNonceRecord, CredentialNonceStore, CredentialOffer, CredentialOfferStore, PreAuthExchangeResult, VciConfig } from './oidc/vci';
|
|
15216
|
+
export { createInMemoryCredentialNonceStore, createInMemoryCredentialOfferStore } from './oidc/inMemoryVciStores';
|
|
15217
|
+
export { vciRoutes } from './oidc/vciRoutes';
|
|
15141
15218
|
export { createInMemoryScimTokenStore } from './scim/inMemoryScimTokenStore';
|
|
15142
15219
|
export { createNeonScimTokenStore, createPostgresScimTokenStore, scimTokensTable } from './scim/postgresScimTokenStore';
|
|
15143
15220
|
export * from './apikeys/config';
|