- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 884 for users (0.02 seconds)
-
docs_src/security/tutorial006_py310.py
from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 321 bytes - Click Count (0) -
fastapi/security/http.py
from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]): return {"username": credentials.username, "password": credentials.password} ``` """ def __init__(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
.gitattributes
# Treat all files in the Go repo as binary, with no git magic updating # line endings. This produces predictable results in different environments. # # Windows users contributing to Go will need to use a modern version # of git and editors capable of LF line endings. # # Windows .bat files are known to have multiple bugs when run with LF # endings, and so they are checked in with CRLF endings, with a test
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jun 08 15:31:43 GMT 2020 - 639 bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
// This file contains members that we should consider to pull upstream // and make available to all Kotlin DSL users package gradlebuild.basics.kotlindsl import org.gradle.process.ExecOperations import java.io.ByteArrayOutputStream import java.io.File /** * `dir / "sub"` is the same as `dir.resolve("sub")`. * * @see [File.resolve] */ operator fun File.div(child: String): File = resolve(child)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon May 19 11:33:57 GMT 2025 - 965 bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+part-2-windows.yml
display-name: "elastic / elasticsearch - pull request part-2 windows" description: "Testing of Elasticsearch pull requests - part-2 windows" node: "windows-immutable" workspace: "C:\\Users\\jenkins\\workspace\\pr-part-2\\${BUILD_NUMBER}" scm: - git: refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" branches: - "${ghprbActualCommit}"
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 22:34:45 GMT 2021 - 1.7K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
## 查看文档 { #check-it } 打开 API 文档,你可以进行身份验证,并指定要授权的作用域。 <img src="/img/tutorial/security/image11.png"> 如果你不选择任何作用域,你依然会“通过认证”,但当你访问 `/users/me/` 或 `/users/me/items/` 时,会收到一个错误,提示你没有足够的权限。你仍然可以访问 `/status/`。 如果你选择了作用域 `me`,但没有选择作用域 `items`,你可以访问 `/users/me/`,但不能访问 `/users/me/items/`。 当第三方应用使用用户提供的令牌访问这些*路径操作*时,也会发生同样的情况,取决于用户授予该应用了多少权限。 ## 关于第三方集成 { #about-third-party-integrations }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
import com.google.errorprone.annotations.InlineMe; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>. * * <p>Example usage of {@code ComparisonChain}: * * {@snippet : * public int compareTo(Foo that) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* FutureTask#done() done()} method. For similar functionality, call {@link #addListener}. * * <p>Few users should use this class. It is intended primarily for those who are implementing an * {@code ExecutorService}. Most users should call {@link ListeningExecutorService#submit(Callable) * ListeningExecutorService.submit} on a service obtained from {@link * MoreExecutors#listeningDecorator}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/SearchForm.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.user; /** * The search form for User. */ public class SearchForm { /** * Default constructor for SearchForm. */ public SearchForm() { } /** * The ID field for searching users. */ public String id;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 905 bytes - Click Count (0) -
helm-releases/minio-3.5.4.tgz
ts[].actions[]` - list of actions granted ### Create user after install Install the chart, specifying the users you want to create after install: ```bash helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio ``` Description of the configuration parameters used above - - `users[].accessKey` - accessKey of user - `users[].secretKey`...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 14 06:04:53 GMT 2022 - 17.2K bytes - Click Count (0)