import { OAuthService } from "../services/oauth.service"; import { OAuthTokenRequestDto, OAuthTokenResponseDto } from "../dtos/oauth.token.dto"; import { OAuthRevokeRequestDto } from "../dtos/oauth.revoke.dto"; import { OAuthIntrospectRequestDto, OAuthIntrospectResponseDto } from "../dtos/oauth.introspect.dto"; /** * OAuth Token Controller * * Handles token-related endpoints per RFC 6749, RFC 7009, RFC 7662. * All endpoints accept application/x-www-form-urlencoded. */ export declare class OAuthTokenController { private readonly oauthService; constructor(oauthService: OAuthService); /** * Token Endpoint (RFC 6749 Section 3.2) * * POST /oauth/token * * Handles all grant types: * - authorization_code * - client_credentials * - refresh_token */ token(body: OAuthTokenRequestDto): Promise; /** * Token Revocation Endpoint (RFC 7009) * * POST /oauth/revoke * * Revokes an access or refresh token. * Always returns 200 OK per RFC 7009. */ revoke(body: OAuthRevokeRequestDto): Promise; /** * Token Introspection Endpoint (RFC 7662) * * POST /oauth/introspect * * Returns token metadata for valid tokens. * Returns { active: false } for invalid/expired tokens. */ introspect(body: OAuthIntrospectRequestDto): Promise; } //# sourceMappingURL=oauth.token.controller.d.ts.map