# PassportModule Class

Module
import { PassportModule } from "@tsed/passport/src/PassportModule"
Source/packages/passport/src/PassportModule.ts

# Overview

class PassportModule implements OnInit, BeforeRoutesInit {
userProperty<span class="token punctuation">:</span> <span class="token keyword">string</span><span class="token punctuation">;</span>
pauseStream<span class="token punctuation">:</span> <span class="token keyword">boolean</span><span class="token punctuation">;</span>
<span class="token keyword">constructor</span><span class="token punctuation">(</span>app<span class="token punctuation">:</span> <a href="/api/common/platform/services/PlatformApplication.html"><span class="token">PlatformApplication</span></a><span class="token punctuation">,</span> protocolsService<span class="token punctuation">:</span> <a href="/api/passport/services/ProtocolsService.html"><span class="token">ProtocolsService</span></a><span class="token punctuation">,</span> passportSerializer<span class="token punctuation">:</span> <a href="/api/passport/services/PassportSerializerService.html"><span class="token">PassportSerializerService</span></a><span class="token punctuation">)</span><span class="token punctuation">;</span>
$<span class="token function">onInit</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">:</span> Promise&lt;<span class="token keyword">any</span>&gt; | <span class="token keyword">void</span><span class="token punctuation">;</span>
$<span class="token function">beforeRoutesInit</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">:</span> <span class="token keyword">void</span> | Promise&lt;<span class="token keyword">any</span>&gt;<span class="token punctuation">;</span>

}