@prismshadow/penguin-server · packages/server/src/auth/service.ts:17 · Child of IdentityModule

AuthServiceProvider

module

The auth assembly: binds the service's ports (the kernel does not inject @Use on a hand-built instance).

API

@Module({ name: "AuthService" })
export class AuthServiceProvider {
  @Use() private readonly users!: Users;
  @Use() private readonly authSessions!: AuthSessions;
  @Use() private readonly state!: AuthState;
  @Use() private readonly config!: Config;
  @Use() private readonly clock!: Clock;
  @Use() private readonly hasher!: PasswordHasher;
  @Use() private readonly provisioner!: InitialProjectProvisioner;
  @Provide() service!: AuthService;
  @Provide() auth!: Auth;
  setup();
}

Dependencies & Wiring

Extracted from class decorators
@Userequires (7)
users: Users · authSessions: AuthSessions · state: AuthState · config: Config · clock: Clock · hasher: PasswordHasher · provisioner: InitialProjectProvisioner
@Provideprovides (2)
service: AuthService · auth: Auth

Children (0)

No child modules or components declared in @Module.

Exports (0)

None (module-private).