import { OnModuleInit } from "@nestjs/common"; /** * OAuth Module * * Provides OAuth2 Authorization Server functionality. * Implements RFC 6749 (OAuth 2.0), RFC 7636 (PKCE), * RFC 7009 (Token Revocation), RFC 7662 (Token Introspection), * RFC 7591 (Dynamic Client Registration), RFC 8414 (Authorization * Server Metadata), and RFC 9728 (Protected Resource Metadata). * * @example * // In your app module * imports: [OAuthModule] * * // Protect endpoints with OAuth * @UseGuards(OAuthTokenGuard) * @OAuthScopes('photographs:read') * async getPhotographs() { ... } */ export declare class OAuthModule implements OnModuleInit { /** * Register OAuth models in the model registry. * This enables JSON:API serialization for OAuth entities. */ onModuleInit(): void; } //# sourceMappingURL=oauth.module.d.ts.map