- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for myrealm (0.41 sec)
-
fastapi/security/http.py
self.realm = realm self.auto_error = auto_error async def __call__( # type: ignore self, request: Request ) -> Optional[HTTPBasicCredentials]: authorization = request.headers.get("Authorization") scheme, param = get_authorization_scheme_param(authorization) if self.realm:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Apr 19 15:29:38 GMT 2024 - 13.2K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.8K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.6K bytes - Viewed (0) -
docs/em/docs/advanced/security/http-basic-auth.md
# ๐บ๐ธ๐ ๐ฐ ๐ ๐ ๐ผ, ๐ ๐ช โ๏ธ ๐บ๐ธ๐ ๐ฐ ๐. ๐บ๐ธ๐ ๐ฐ ๐, ๐ธ โ ๐ ๐ ๐ ๐ & ๐. ๐ฅ โซ๏ธ ๐ซ ๐จ โซ๏ธ, โซ๏ธ ๐จ ๐บ๐ธ๐ 4๏ธโฃ0๏ธโฃ1๏ธโฃ "โ" โ. & ๐จ ๐ `WWW-Authenticate` โฎ๏ธ ๐ฒ `Basic`, & ๐ฆ `realm` ๐ข. ๐ ๐ฌ ๐ฅ ๐ฆ ๐ ๏ธ ๐ ๐ & ๐. โคด๏ธ, ๐โ ๐ ๐ ๐ ๐ & ๐, ๐ฅ ๐จ ๐ซ ๐ ๐. ## ๐ ๐บ๐ธ๐ ๐ฐ ๐ * ๐ `HTTPBasic` & `HTTPBasicCredentials`. * โ "`security` โ" โ๏ธ `HTTPBasic`. * โ๏ธ ๐ `security` โฎ๏ธ ๐ ๐ *โก ๐ ๏ธ*.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password. Then, when you type that username and password, the browser sends them in the header automatically. ## Simple HTTP Basic Auth
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 14:33:05 GMT 2024 - 5.9K bytes - Viewed (0) -
docs/de/docs/advanced/security/http-basic-auth.md
Wenn sie diesen nicht empfรคngt, gibt sie den HTTP-Error 401 โUnauthorizedโ zurรผck. Und gibt einen Header `WWW-Authenticate` mit dem Wert `Basic` und einem optionalen `realm`-Parameter (โBereichโ) zurรผck. Dadurch wird der Browser angewiesen, die integrierte Eingabeaufforderung fรผr einen Benutzernamen und ein Passwort anzuzeigen.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:08 GMT 2024 - 6.9K bytes - Viewed (0) -
docs/zh/docs/advanced/security/http-basic-auth.md
# HTTP ๅบ็กๆๆ ๆ็ฎๅ็็จไพๆฏไฝฟ็จ HTTP ๅบ็กๆๆ๏ผHTTP Basic Auth๏ผใ ๅจ HTTP ๅบ็กๆๆไธญ๏ผๅบ็จ้่ฆ่ฏทๆฑๅคดๅ ๅซ็จๆทๅไธๅฏ็ ใ ๅฆๆๆฒกๆๆฅๆถๅฐ HTTP ๅบ็กๆๆ๏ผๅฐฑ่ฟๅ HTTP 401 `"Unauthorized"` ้่ฏฏใ ๅนถ่ฟๅๅซ `Basic` ๅผ็่ฏทๆฑๅคด `WWW-Authenticate`ไปฅๅๅฏ้็ `realm` ๅๆฐใ HTTP ๅบ็กๆๆ่ฎฉๆต่งๅจๆพ็คบๅ ็ฝฎ็็จๆทๅไธๅฏ็ ๆ็คบใ ่พๅ ฅ็จๆทๅไธๅฏ็ ๅ๏ผๆต่งๅจไผๆๅฎไปฌ่ชๅจๅ้่ณ่ฏทๆฑๅคดใ ## ็ฎๅ็ HTTP ๅบ็กๆๆ * ๅฏผๅ ฅ `HTTPBsic` ไธ `HTTPBasicCredentials` * ไฝฟ็จ `HTTPBsic` ๅๅปบ**ๅฎๅ จๆฆๅพ** * ๅจ*่ทฏๅพๆไฝ*็ไพ่ต้กนไธญไฝฟ็จ `security` * ่ฟๅ็ฑปๅไธบ `HTTPBasicCredentials` ็ๅฏน่ฑก๏ผ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:43:48 GMT 2024 - 3.9K bytes - Viewed (0)