opensource:ngsuite:serialguard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
opensource:ngsuite:serialguard [2023/03/23 23:58] – christian | 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 31: | Line 20: | ||
===== Using the SerialGuard Decorator ===== | ===== Using the SerialGuard Decorator ===== | ||
- | 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: | ||
</ | </ | ||
- | ===== Usin the SerialGuardFn Function ===== | + | ===== Using the SerialGuardFn Function ===== |
- | 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.1679615904.txt.gz · Last modified: 2023/03/23 23:58 by christian