- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 103 for inactivo (0.24 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
*/ @Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator { private static final String JDK_VERSION = System.getProperty("java.version"); @Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K 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) -
cmd/rebalance-admin.go
type rebalanceAdminStatus struct { ID string // identifies the ongoing rebalance operation by a uuid Pools []rebalancePoolStatus `json:"pools"` // contains all pools, including inactive StoppedAt time.Time `json:"stoppedAt"` } func rebalanceStatus(ctx context.Context, z *erasureServerPools) (r rebalanceAdminStatus, err error) { // Load latest rebalance status meta := &rebalanceMeta{}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误: ```JSON { "detail": "Not authenticated" } ``` ### 未激活用户 { #inactive-user } 测试未激活用户,输入以下信息,进行身份验证: 用户名:`alice` 密码:`secret2` 然后,执行 `/users/me` 路径的 `GET` 操作。 显示下列**未激活用户**错误信息: ```JSON { "detail": "Inactive user" } ``` ## 小结 { #recap } 使用本章的工具实现基于 `username` 和 `password` 的完整 API 安全系统。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
*/ @Named("property") @Singleton @Deprecated(since = "4.0.0") public class PropertyProfileActivator implements ProfileActivator { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
void testThrowingActivator() { DefaultProfileSelector selector = new DefaultProfileSelector(); selector.addProfileActivator(new ProfileActivator() { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { throw new RuntimeException("BOOM"); } @Override public boolean presentInConfig(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertEquals(NbtAddress.B_NODE, nbtAddress.getNodeType(mockContext)); assertTrue(nbtAddress.isBeingDeleted(mockContext)); assertTrue(nbtAddress.isInConflict(mockContext)); assertFalse(nbtAddress.isActive(mockContext)); assertTrue(nbtAddress.isPermanent(mockContext)); assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext)); } @Test void testUnwrap() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.4K bytes - Click Count (0) -
docs_src/security/tutorial004_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_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 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
this.address = address; this.groupName = groupName; this.nodeType = nodeType; this.isBeingDeleted = isBeingDeleted; this.isInConflict = isInConflict; this.isActive = isActive; this.isPermanent = isPermanent; this.macAddress = macAddress; isDataFromNodeStatus = true; } /* Guess next called name to try for session establishment. TheseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0)