- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 98 for isActive (0.06 seconds)
-
docs_src/security/tutorial003_py310.py
) return user async def get_current_active_user(current_user: User = Depends(get_current_user)): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: OAuth2PasswordRequestForm = Depends()): user_dict = fake_users_db.get(form_data.username) if not user_dict:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.4K bytes - Click Count (0) -
docs_src/security/tutorial003_an_py310.py
) return user async def get_current_active_user( current_user: Annotated[User, Depends(get_current_user)], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): user_dict = fake_users_db.get(form_data.username) if not user_dict:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### 비활성된 유저 { #inactive-user } 이제 비활성된 사용자로 시도하고, 인증해봅시다: 유저명: `alice` 패스워드: `secret2` 그리고 `/users/me` 경로와 함께 `GET` 작업을 사용해 봅시다. 다음과 같은 "Inactive user" 오류가 발생합니다: ```JSON { "detail": "Inactive user" } ``` ## 요약 { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} final String id = scheduledJob.getId(); if (!Constants.T.equals(scheduledJob.getAvailable())) { logger.info("Inactive Job: id={}, name={}", id, scheduledJob.getName()); try { unregister(scheduledJob); } catch (final Exception e) { if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
return user async def get_current_active_user(current_user: User = Depends(get_current_user)): 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: OAuth2PasswordRequestForm = Depends(), ) -> Token:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
return user async def get_current_active_user( current_user: 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: OAuth2PasswordRequestForm = Depends(), ) -> Token:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
"detail": "Not authenticated" } ``` ### Usuario inactivo { #inactive-user } Ahora prueba con un usuario inactivo, autentícate con: Usuario: `alice` Contraseña: `secret2` Y trata de usar la operación `GET` con la path `/users/me`. Obtendrás un error de "Usuario inactivo", como: ```JSON { "detail": "Inactive user" } ``` ## Recapitulación { #recap }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/simple-oauth2.md
} ``` ### Utilisateur inactif { #inactive-user } Essayez maintenant avec un utilisateur inactif, authentifiez‑vous avec : Utilisateur : `alice` Mot de passe : `secret2` Et essayez d'utiliser l'opération `GET` avec le chemin `/users/me`. Vous obtiendrez une erreur « Inactive user », par exemple : ```JSON { "detail": "Inactive user" } ``` ## Récapitulatif { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.2K bytes - Click Count (0) -
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:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### 非アクティブユーザー { #inactive-user } 今度は非アクティブなユーザーで試してみます。次で認証してください: User: `alice` Password: `secret2` そして `GET` の path `/users/me` を使います。 次のような「Inactive user」エラーになります: ```JSON { "detail": "Inactive user" } ``` ## まとめ { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 12.1K bytes - Click Count (0)