@absolutejs/auth 0.75.1 → 0.75.2

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.
@@ -35,6 +35,7 @@ export declare const agentAuthPlugin: (config?: AgentAuthConfig) => Elysia<"", "
35
35
  scopes_supported: string[];
36
36
  resource_name?: string | undefined;
37
37
  resource_logo_uri?: string | undefined;
38
+ dpop_bound_access_tokens_required?: boolean | undefined;
38
39
  authorization_servers: string[];
39
40
  bearer_methods_supported: string[];
40
41
  };
@@ -149,6 +150,7 @@ export declare const agentAuthRoutes: (config?: AgentAuthConfig) => Elysia<"", "
149
150
  scopes_supported: string[];
150
151
  resource_name?: string | undefined;
151
152
  resource_logo_uri?: string | undefined;
153
+ dpop_bound_access_tokens_required?: boolean | undefined;
152
154
  authorization_servers: string[];
153
155
  bearer_methods_supported: string[];
154
156
  };
package/dist/index.d.ts CHANGED
@@ -3759,6 +3759,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
3759
3759
  scopes_supported: string[];
3760
3760
  resource_name?: string | undefined;
3761
3761
  resource_logo_uri?: string | undefined;
3762
+ dpop_bound_access_tokens_required?: boolean | undefined;
3762
3763
  authorization_servers: string[];
3763
3764
  bearer_methods_supported: string[];
3764
3765
  };
package/dist/index.js CHANGED
@@ -3260,6 +3260,7 @@ var DEFAULT_AGENT_RESOURCE_METADATA_ROUTE = "/.well-known/oauth-protected-resour
3260
3260
  var agentProtectedResourceMetadata = (config) => ({
3261
3261
  authorization_servers: [config.authorizationServer],
3262
3262
  bearer_methods_supported: ["header"],
3263
+ ...config.dpopBoundAccessTokensRequired === true ? { dpop_bound_access_tokens_required: true } : {},
3263
3264
  ...config.logoUri === undefined ? {} : { resource_logo_uri: config.logoUri },
3264
3265
  ...config.resourceName === undefined ? {} : { resource_name: config.resourceName },
3265
3266
  resource: config.resource,
@@ -41012,5 +41013,5 @@ export {
41012
41013
  ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV
41013
41014
  };
41014
41015
 
41015
- //# debugId=1BF002329763FE6764756E2164756E21
41016
+ //# debugId=6230674639E5BA6B64756E2164756E21
41016
41017
  //# sourceMappingURL=index.js.map