@stacksjs/auth 0.75.558 → 0.75.560

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.
@@ -1,10 +1,18 @@
1
1
  /** RFC 9728 metadata for the exact protected audience, never the inbound Host. */
2
- export declare function oauthProtectedResourceMetadata(options: OAuthProtectedResourceOptions): {
3
- resource: string
4
- authorization_servers: string[]
2
+ export declare function oauthProtectedResourceMetadata(options: OAuthProtectedResourceOptions): Omit<Omit<Partial<{
3
+ scopes_supported: ((NonNullable<(OAuthProtectedResourceOptions)["scopesSupported"]> extends Iterable<infer Element> ? Element : never))[]
4
+ }>, keyof Partial<{
5
+ resource_documentation: (OAuthProtectedResourceOptions)["documentation"]
6
+ }>> & Partial<{
7
+ resource_documentation: (OAuthProtectedResourceOptions)["documentation"]
8
+ }>, keyof {
9
+ resource: (OAuthProtectedResourceOptions)["resource"];
10
+ authorization_servers: ((NonNullable<(OAuthProtectedResourceOptions)["authorizationServers"]> extends Iterable<infer Element> ? Element : never))[];
11
+ bearer_methods_supported: string[]
12
+ }> & {
13
+ resource: (OAuthProtectedResourceOptions)["resource"];
14
+ authorization_servers: ((NonNullable<(OAuthProtectedResourceOptions)["authorizationServers"]> extends Iterable<infer Element> ? Element : never))[];
5
15
  bearer_methods_supported: string[]
6
- scopes_supported?: string[]
7
- resource_documentation?: string
8
16
  };
9
17
  export declare function oauthProtectedResourceMetadataPath(resource: string): string;
10
18
  export declare interface OAuthProtectedResourceOptions {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/auth",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.558",
5
+ "version": "0.75.560",
6
6
  "description": "A more simplistic way to authenticate.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -59,19 +59,19 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@stacksjs/bun-router": "^0.1.24",
62
- "@stacksjs/cache": "0.75.558",
63
- "@stacksjs/config": "0.75.558",
64
- "@stacksjs/database": "0.75.558",
65
- "@stacksjs/email": "0.75.558",
66
- "@stacksjs/env": "0.75.558",
67
- "@stacksjs/error-handling": "0.75.558",
68
- "@stacksjs/logging": "0.75.558",
69
- "@stacksjs/orm": "0.75.558",
70
- "@stacksjs/path": "0.75.558",
71
- "@stacksjs/router": "0.75.558",
72
- "@stacksjs/security": "0.75.558",
73
- "@stacksjs/socials": "0.75.558",
74
- "@stacksjs/storage": "0.75.558",
62
+ "@stacksjs/cache": "0.75.560",
63
+ "@stacksjs/config": "0.75.560",
64
+ "@stacksjs/database": "0.75.560",
65
+ "@stacksjs/email": "0.75.560",
66
+ "@stacksjs/env": "0.75.560",
67
+ "@stacksjs/error-handling": "0.75.560",
68
+ "@stacksjs/logging": "0.75.560",
69
+ "@stacksjs/orm": "0.75.560",
70
+ "@stacksjs/path": "0.75.560",
71
+ "@stacksjs/router": "0.75.560",
72
+ "@stacksjs/security": "0.75.560",
73
+ "@stacksjs/socials": "0.75.560",
74
+ "@stacksjs/storage": "0.75.560",
75
75
  "@stacksjs/ts-auth": "^0.4.7",
76
76
  "ts-qr-codes": "^0.1.8"
77
77
  },