import { IdpProvider } from '../types/provider.js'; import { AuthResult, Payload, Project, Projects, ProjectMember, ProjectMemberInvitation, ProjectMembershipRequest, ApproveMembershipRequestResult, Role, UserProvisioningSettings, UserProvisioningSettingsUpdate, UserProvisioningRequestAccessContext, RequestProjectAccessResult, CreateNewProjectResult } from '../types/models.js'; import { McpOAuthProjectMemberContext, McpScope, McpTokenPayload, OAuthAuthorizationCode, OAuthAuthorizationRequest, OAuthJwksResult, OAuthTokenExchangeRequest, OAuthTokenExchangeResult } from '../types/oauth.js'; import { Express, Request, Response, NextFunction } from 'express'; /** * NULL IDP Provider - single user, single project * Used for deployments without user management and development */ export declare class NullIdpProvider implements IdpProvider { private defaultPayload; private defaultAccessToken; private defaultRefreshToken; private readonly issuedAccessTokens; constructor(); refreshToken(_refreshToken: string): Promise; issueAccessTokenForProjectMemberApiKey(apiKeyId: string, userId: string, projectId: string, _role: Role | null, _readOnly: boolean): Promise; createMcpOAuthAuthorizationCode(_request: OAuthAuthorizationRequest, _projectMember: McpOAuthProjectMemberContext): Promise; exchangeMcpOAuthToken(_request: OAuthTokenExchangeRequest): Promise; verifyMcpAccessToken(_token: string, _resource: string, _requiredScopes: McpScope[]): Promise; getMcpOAuthJwks(): Promise; signInMiddleware(req: Request, res: Response, _next: NextFunction): Promise; signUpMiddleware(req: Request, res: Response, _next: NextFunction): Promise; signOutMiddleware(_req: Request, res: Response, _next: NextFunction): Promise; accessTokenMiddleware(req: Request, res: Response, _next: NextFunction): Promise; userApiMiddleware(req: Request, res: Response, _next: NextFunction): Promise>; projectsApiMiddleware(_req: Request, res: Response, _next: NextFunction): Promise>; getProjects(_accessToken: string): Promise; getProjectForUser(_userId: string, projectId: string): Promise; registerRoutes(_app: Express): void; initialize(): Promise; isHealthy(): Promise; shutdown(): Promise; introspectToken(token: string): Promise; parseToken(token: string): Promise; revokeToken(_token: string): Promise; getProjectMembers(_projectId: string): Promise; inviteMember(_projectId: string, _email: string, _role: Role, _actorUserId: string): Promise; removeMember(_projectId: string, _userId: string, _actorUserId: string): Promise; changeMemberRole(_projectId: string, _userId: string, _newRole: Role, _actorUserId: string): Promise; getUserProvisioningSettings(_projectId: string, _actorUserId: string): Promise; updateUserProvisioningSettings(_projectId: string, _actorUserId: string, _settings: UserProvisioningSettingsUpdate): Promise; listMembershipRequests(_projectId: string, _actorUserId: string, _options?: { forceFresh?: boolean; }): Promise; approveMembershipRequest(_projectId: string, _requestId: string, _role: Role, _actorUserId: string): Promise; declineMembershipRequest(_projectId: string, _requestId: string, _actorUserId: string): Promise; getUserProvisioningRequestAccessContext(_userId: string, _projectId: string): Promise; requestProjectAccess(_userId: string, _projectId: string, _role: Role): Promise; createNewProject(_userId: string, _integration: string): Promise; /** * Sets the authentication cookie in the response and redirects the user to the root path. * * @param {Request} req The HTTP request object containing the client's request. * @param {Response} res The HTTP response object used to send back the response, including the cookie and redirect. * @return {Promise} A promise that resolves when the cookie is set and the redirect response is sent to the client. */ private setAuthCookieAndRedirect; private normalizeBearer; } //# sourceMappingURL=null-provider.d.ts.map