AuthenticationHeaderParser class
Toto je pomocná třída, která analyzuje podporované hlavičky ověřování odpovědi HTTP za účelem extrakce a vrácení hodnot výzvy hlaviček, které je možné použít mimo základní autorizační toky.
Konstruktory
| Authentication |
Metody
| get |
Tato metoda parsuje hodnotu nonce SHR z hlavičky ověřování Authentication-Info nebo WWW-Authenticate. |
Podrobnosti konstruktoru
AuthenticationHeaderParser(Record<string, string>)
new AuthenticationHeaderParser(headers: Record<string, string>)
Parametry
- headers
-
Record<string, string>
Podrobnosti metody
getShrNonce()
Tato metoda parsuje hodnotu nonce SHR z hlavičky ověřování Authentication-Info nebo WWW-Authenticate.
function getShrNonce(): string
Návraty
string