UNPKG

@bitwild/rockets-auth

Version:

Rockets Auth - Complete authentication and authorization solution for NestJS with JWT, OAuth, OTP, role-based access control, and more

61 lines 4.03 kB
import { AuthJwtOptionsInterface } from '@concepta/nestjs-auth-jwt'; import { AuthRefreshOptionsInterface } from '@concepta/nestjs-auth-refresh'; import { ValidateTokenServiceInterface } from '@concepta/nestjs-authentication'; import { CanAccess } from '@concepta/nestjs-access-control'; import { AuthAppleOptionsInterface } from '@concepta/nestjs-auth-apple/dist/interfaces/auth-apple-options.interface'; import { AuthGithubOptionsInterface } from '@concepta/nestjs-auth-github/dist/interfaces/auth-github-options.interface'; import { AuthGoogleOptionsInterface } from '@concepta/nestjs-auth-google/dist/interfaces/auth-google-options.interface'; import { AuthLocalOptionsInterface, AuthLocalValidateUserServiceInterface } from '@concepta/nestjs-auth-local'; import { AuthRecoveryOptionsInterface } from '@concepta/nestjs-auth-recovery'; import { AuthVerifyOptionsInterface } from '@concepta/nestjs-auth-verify'; import { AuthenticationOptionsInterface, IssueTokenServiceInterface, VerifyTokenService } from '@concepta/nestjs-authentication'; import { EmailOptionsInterface, EmailServiceInterface } from '@concepta/nestjs-email'; import { FederatedOptionsInterface } from '@concepta/nestjs-federated/dist/interfaces/federated-options.interface'; import { JwtOptionsInterface } from '@concepta/nestjs-jwt'; import { AuthRouterOptionsInterface } from '@concepta/nestjs-auth-router'; import { OtpOptionsInterface } from '@concepta/nestjs-otp'; import { PasswordOptionsInterface } from '@concepta/nestjs-password'; import { UserPasswordServiceInterface } from '@concepta/nestjs-user'; import { UserOptionsInterface } from '@concepta/nestjs-user/dist/interfaces/user-options.interface'; import { UserPasswordHistoryServiceInterface } from '@concepta/nestjs-user/dist/interfaces/user-password-history-service.interface'; import { RocketsAuthNotificationServiceInterface } from './rockets-auth-notification.service.interface'; import { RocketsAuthSettingsInterface } from './rockets-auth-settings.interface'; import { RocketsAuthUserModelServiceInterface } from './rockets-auth-user-model-service.interface'; import { SwaggerUiOptionsInterface } from '@concepta/nestjs-swagger-ui/dist/interfaces/swagger-ui-options.interface'; import { CrudModuleOptionsInterface } from '@concepta/nestjs-crud/dist/interfaces/crud-module-options.interface'; import { RoleOptionsInterface } from '@concepta/nestjs-role/dist/interfaces/role-options.interface'; export interface RocketsAuthOptionsInterface { settings?: RocketsAuthSettingsInterface; swagger?: SwaggerUiOptionsInterface; authentication?: AuthenticationOptionsInterface; federated?: Partial<FederatedOptionsInterface>; jwt?: JwtOptionsInterface; authJwt?: Partial<AuthJwtOptionsInterface>; authRouter?: AuthRouterOptionsInterface; authApple?: AuthAppleOptionsInterface; authGithub?: AuthGithubOptionsInterface; authGoogle?: AuthGoogleOptionsInterface; authLocal?: Partial<AuthLocalOptionsInterface>; authRecovery?: AuthRecoveryOptionsInterface; refresh?: AuthRefreshOptionsInterface; authVerify?: AuthVerifyOptionsInterface; user?: UserOptionsInterface; password?: PasswordOptionsInterface; otp?: OtpOptionsInterface; email?: Partial<EmailOptionsInterface>; crud?: CrudModuleOptionsInterface; role?: Partial<RoleOptionsInterface>; services: { userModelService?: RocketsAuthUserModelServiceInterface; notificationService?: RocketsAuthNotificationServiceInterface; verifyTokenService?: VerifyTokenService; issueTokenService?: IssueTokenServiceInterface; validateTokenService?: ValidateTokenServiceInterface; validateUserService?: AuthLocalValidateUserServiceInterface; userPasswordService?: UserPasswordServiceInterface; userPasswordHistoryService?: UserPasswordHistoryServiceInterface; userAccessQueryService?: CanAccess; mailerService: EmailServiceInterface; }; } //# sourceMappingURL=rockets-auth-options.interface.d.ts.map