- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for authorized (0.06 sec)
-
docs_src/dependencies/tutorial014_an_py310.py
yield session def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user: raise HTTPException(status_code=403, detail="Not authorized") session.close() def generate_stream(query: str): for ch in query: yield ch time.sleep(0.1) @app.get("/generate", dependencies=[Depends(get_user)])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 957 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java
/** * Default constructor. */ public FessApiAdminAction() { super(); } /** * Determines whether the current request is authorized to access admin API endpoints. * This method validates the access token and checks if the associated permissions * allow admin access according to the Fess configuration. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.3K bytes - Viewed (0) -
docs_src/dependencies/tutorial013_an_py310.py
yield session def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user: raise HTTPException(status_code=403, detail="Not authorized") def generate_stream(query: str): for ch in query: yield ch time.sleep(0.1) @app.get("/generate", dependencies=[Depends(get_user)]) def generate(query: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 937 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
/** * Pre-processes API requests by checking access authorization before executing the action. * If access is not allowed, returns an unauthorized error response. * * @param runtime the action runtime context containing request information * @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent */ @Override public ActionResponse godHandPrologue(final ActionRuntime runtime) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
new TestStringSetGenerator() { /** * Returns a Multiset that throws an exception on any attempt to use a method not * specifically authorized by the elementSet() or hashCode() docs. */ @Override protected Set<String> create(String[] elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 11.8K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
public class WitnessSecurityManager { public void authenticateWitnessService(InetAddress witnessServer) throws SecurityException { // Verify witness service is authorized if (!isAuthorizedWitnessServer(witnessServer)) { throw new SecurityException("Unauthorized witness server: " + witnessServer); } } public void validateNotification(WitnessNotification notification) throws SecurityException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
After a week, the token will be expired and the user will not be authorized and will have to sign in again to get a new token. And if the user (or a third party) tried to modify the token to change the expiration, you would be able to discover it, because the signatures would not match.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition,...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 01:56:29 UTC 2025 - 44.6K bytes - Viewed (1) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void validateRemoteAccess(long remoteAddress, int length, int remoteKey) { // Validate that remote memory access is authorized // This would integrate with SMB3 encryption/signing if (!isAuthorizedAccess(remoteAddress, length, remoteKey)) { throw new SecurityException("Unauthorized RDMA remote access"); } } private boolean isAuthorizedAccess(long address, int length, int key) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
} if (status) { return new ActionResponseCredential(() -> { throw new RequestLoggingFilter.RequestClientErrorException("Your request is not authorized.", "401 Unauthorized", HttpServletResponse.SC_UNAUTHORIZED); }); } // assert if (null == principal) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3)