opensource:ngsuite:serialguard
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
opensource:ngsuite:serialguard [2023/03/23 00:52] – created - external edit | opensource:ngsuite:serialguard [2023/03/27 11:50] (current) – christian | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== NGSuite: Serial Guard ====== | ====== NGSuite: Serial Guard ====== | ||
- | NGSuite' | + | NGSuite' |
- | + | ||
- | ===== SerialGuardInfo ===== | + | |
- | + | ||
- | The '' | + | |
- | + | ||
- | * entries: Chain< | + | |
- | * providers?: StaticProvider[]; | + | |
- | + | ||
- | The '' | + | |
- | + | ||
- | The optional '' | + | |
===== Creating a Guard Entry ===== | ===== Creating a Guard Entry ===== | ||
Line 29: | Line 18: | ||
</ | </ | ||
- | ===== SerialGuard ===== | + | ===== Using the SerialGuard |
- | The '' | + | The [[opensource: |
- | ==== Usage ==== | + | ==== Example |
- | Creating a serial guard with the '' | + | Creating a serial guard with the [[opensource: |
<codify typescript> | <codify typescript> | ||
Line 49: | Line 38: | ||
</ | </ | ||
- | ===== SerialGuardFn ===== | + | ===== Using the SerialGuardFn |
- | The '' | + | The [[opensource: |
- | ==== Usage ==== | + | ==== Example |
- | Creating a serial guard with the '' | + | Creating a serial guard with the [[opensource: |
<codify typescript> | <codify typescript> | ||
- | const UserAccessGuard = SerialGuardFn({ | + | export |
entries: [ | entries: [ | ||
AuthGuardEntry, | AuthGuardEntry, |
opensource/ngsuite/serialguard.1679532723.txt.gz · Last modified: 2023/03/23 00:52 by