- Sort Score
- Result 10 results
- Languages All
Results 31 - 35 of 35 for isActive (0.14 sec)
-
docs_src/security/tutorial005_an_py310.py
async def get_current_active_user( current_user: Annotated[User, Security(get_current_user, scopes=["me"])], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: Annotated[OAuth2PasswordRequestForm, Depends()], ) -> Token:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
async def get_current_active_user( current_user: Annotated[User, Security(get_current_user, scopes=["me"])], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: Annotated[OAuth2PasswordRequestForm, Depends()], ) -> Token:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy
@Requires(UnitTestPreconditions.NotJava8OnMacOs) class SettingsScriptExecutionIntegrationTest extends AbstractIntegrationSpec { @Requires(IntegTestPreconditions.AnyActiveFeature) def "emits deprecation warnings when enabling inactive #feature feature"() { given: settingsFile << """ enableFeaturePreview('$feature') """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
``` ### ๐ ๐ฉโ๐ป ๐ ๐ โฎ๏ธ ๐ ๐ฉโ๐ป, ๐ โฎ๏ธ: ๐ฉโ๐ป: `alice` ๐: `secret2` & ๐ โ๏ธ ๐ ๏ธ `GET` โฎ๏ธ โก `/users/me`. ๐ ๐ ๐ค "๐ ๐ฉโ๐ป" โ, ๐: ```JSON { "detail": "Inactive user" } ``` ## ๐ ๐ ๐ โ๏ธ ๐งฐ ๐ ๏ธ ๐ ๐โโ โ๏ธ โ๏ธ ๐ `username` & `password` ๐ ๐ ๏ธ. โ๏ธ ๐ซ ๐งฐ, ๐ ๐ช โ ๐โโ โ๏ธ ๐ โฎ๏ธ ๐ ๐ฝ & โฎ๏ธ ๐ ๐ฉโ๐ป โ๏ธ ๐ฝ ๐ท. ๐ด โน โ ๐ โซ๏ธ ๐ซ ๐ค "๐".
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
} ``` ### ๆชๆฟๆดป็จๆท ๆต่ฏๆชๆฟๆดป็จๆท๏ผ่พๅ ฅไปฅไธไฟกๆฏ๏ผ่ฟ่ก่บซไปฝ้ช่ฏ๏ผ ็จๆทๅ๏ผ`alice` ๅฏ็ ๏ผ`secret2` ็ถๅ๏ผๆง่ก `/users/me` ่ทฏๅพ็ `GET` ๆไฝใ ๆพ็คบไธๅ**ๆชๆฟๆดป็จๆท**้่ฏฏไฟกๆฏ๏ผ ```JSON { "detail": "Inactive user" } ``` ## ๅฐ็ป ไฝฟ็จๆฌ็ซ ็ๅทฅๅ ทๅฎ็ฐๅบไบ `username` ๅ `password` ็ๅฎๆด API ๅฎๅ จ็ณป็ปใ ่ฟไบๅทฅๅ ท่ฎฉๅฎๅ จ็ณป็ปๅ ผๅฎนไปปไฝๆฐๆฎๅบใ็จๆทๅๆฐๆฎๆจกๅใ ๅฏไธๆฌ ็ผบ็ๆฏ๏ผๅฎไป็ถไธๆฏ็็**ๅฎๅ จ**ใ
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.8K bytes - Viewed (0)