- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 322 for authorization (0.12 seconds)
-
docs/ja/docs/tutorial/security/first-steps.md
* フロントエンドはそのトークンを一時的にどこかに保存します。 * ユーザーがフロントエンドでクリックして、フロントエンドのWebアプリの別のセクションに移動します。 * フロントエンドはAPIからさらにデータを取得する必要があります。 * しかし、特定のエンドポイントの認証が必要です。 * したがって、APIで認証するため、HTTPヘッダー`Authorization`に`Bearer`の文字列とトークンを加えた値を送信します。 * トークンに`foobar`が含まれている場合、`Authorization`ヘッダーの内容は次のようになります: `Bearer foobar`。 ## **FastAPI**の`OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer } **FastAPI**は、これらのセキュリティ機能を実装するために、抽象度の異なる複数のツールを提供しています。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java
*/ package jcifs.pac.kerberos; import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import jcifs.pac.PACDecodingException; import jcifs.pac.Pac; /** * Kerberos authorization data containing PAC (Privilege Attribute Certificate) information. */ public class KerberosPacAuthData extends KerberosAuthData { private Pac pac; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
internal/http/headers.go
ServerInfo = "Server" RetryAfter = "Retry-After" Location = "Location" CacheControl = "Cache-Control" ContentDisposition = "Content-Disposition" Authorization = "Authorization" Action = "Action" Range = "Range" ) // Non standard S3 HTTP response constants const ( XCache = "X-Cache" XCacheLookup = "X-Cache-Lookup" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.io.Serializable; /** * Interface representing a Fess user with authentication and authorization information. * Provides access to user name, roles, groups, and permissions. */ public interface FessUser extends Serializable { /** * Gets the user's display name. * @return The user's name.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed. But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc. So, for everything to work correctly, it's better to specify explicitly the allowed origins. ## Use `CORSMiddleware` { #use-corsmiddleware }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
.build() val authRequest = authenticator.authenticate(route, response) assertEquals( "Basic ${RecordingAuthenticator.BASE_64_CREDENTIALS}", authRequest!!.header("Authorization"), ) } @Test fun noSupportForNonBasicAuth() { val request = Request .Builder() .url("https://server/robots.txt") .build() val response =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG)) .build(); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(requestBody) .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Click Count (0) -
tests/test_top_level_security_scheme_in_openapi.py
@app.get("/", dependencies=[Depends(bearer_scheme)]) async def get_root(): return {"message": "Hello, World!"} client = TestClient(app) def test_get_root(): response = client.get("/", headers={"Authorization": "Bearer token"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Hello, World!"} def test_get_root_no_token(): response = client.get("/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/cors.md
但那只會允許某些類型的通訊,凡是涉及憑證(credentials)的都會被排除:例如 Cookie、Authorization 標頭(像 Bearer Token 會用到的)等。 因此,為了讓一切正常運作,最好明確指定被允許的來源。 ## 使用 `CORSMiddleware` { #use-corsmiddleware } 你可以在 **FastAPI** 應用程式中使用 `CORSMiddleware` 來設定: * 匯入 `CORSMiddleware`。 * 建立允許的來源清單(字串)。 * 將它加入到你的 **FastAPI** 應用程式做為「中介軟體(middleware)」。 你也可以指定你的後端是否允許: * 憑證(credentials,例如 Authorization 標頭、Cookie 等)。 * 特定的 HTTP 方法(如 `POST`、`PUT`),或使用萬用字元 `"*"` 表示全部。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
for (Map<String, Object> doc : docs) { String docId = doc.get("doc_id").toString(); given().contentType("application/json").header("Authorization", getTestToken()).delete(SEARCHLIST_API_PATH + "/doc/" + docId); } refresh(); deleteTestToken(); } @Override protected String getNamePrefix() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0)