Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for apikey (0.05 sec)

  1. tests/test_security_api_key_query_optional.py

    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tests/test_security_api_key_cookie_optional.py

    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. internal/config/subnet/help.go

    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.APIKey,
    			Type:        "string",
    			Description: "Enterprise license API key for the cluster" + defaultHelpPostfix(config.APIKey),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.Proxy,
    			Type:        "string",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/security/index.md

    Використовуючи їх, Ви можете скористатися всіма цими інструментами, що базуються на стандартах, зокрема інтерактивними системами документації.
    
    OpenAPI визначає такі схеми безпеки:
    
    * `apiKey`: специфічний для застосунку ключ, який може передаватися через:
        * Параметр запиту.
        * Заголовок.
        * Cookie.
    * `http`: стандартні методи HTTP-автентифікації, включаючи:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 24 18:57:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/index.md

    Por usá-los, você pode ter vantagens de todas essas ferramentas baseadas nos padrões, incluindo os sistemas de documentação interativa.
    
    OpenAPI define os seguintes esquemas de segurança:
    
    * `apiKey`: uma chave específica de aplicação que pode vir de:
        * Um parâmetro query.
        * Um header.
        * Um cookie.
    * `http`: padrão HTTP de sistemas autenticação, incluindo:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:17:03 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        "PATHEXT",
        // Used by KotlinMultiplatformPluginSmokeTest, see https://github.com/gradle/gradle-private/issues/4223
        "CHROME_BIN"
    )
    
    
    val credentialsKeywords = listOf(
        "api_key",
        "access_key",
        "apikey",
        "accesskey",
        "password",
        "token",
        "credential",
        "auth"
    )
    
    
    fun Test.filterEnvironmentVariables(inheritDevelocityAccessToken: Boolean) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 15 18:27:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. internal/config/subnet/subnet.go

    	}
    	r.Header.Add("Content-Type", writer.FormDataContentType())
    
    	return c.submitPost(r)
    }
    
    func (c Config) submitPost(r *http.Request) (string, error) {
    	configLock.RLock()
    	r.Header.Set(xhttp.SubnetAPIKey, c.APIKey)
    	configLock.RUnlock()
    	r.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	client := &http.Client{
    		Timeout:   10 * time.Second,
    		Transport: c.transport,
    	}
    
    	resp, err := client.Do(r)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/security/index.md

    Таким образом, вы можете воспользоваться преимуществами Всех этих стандартных инструментов, включая интерактивные системы документирования.
    
    OpenAPI может использовать следующие схемы авторизации:
    
    * `apiKey`: уникальный идентификатор для приложения, который может быть получен из:
        * Параметров запроса.
        * Заголовка.
        * Cookies.
    * `http`: стандартные системы аутентификации по протоколу HTTP, включая:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/security/index.md

    Al usarlos, puedes aprovechar todas estas herramientas basadas en estándares, incluidos estos sistemas de documentación interactiva.
    
    OpenAPI define los siguientes esquemas de seguridad:
    
    * `apiKey`: una clave específica de la aplicación que puede provenir de:
      * Un parámetro de query.
      * Un header.
      * Una cookie.
    * `http`: sistemas de autenticación HTTP estándar, incluyendo:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/security/index.md

    Durch deren Verwendung können Sie alle diese Standards-basierten Tools nutzen, einschließlich dieser interaktiven Dokumentationssysteme.
    
    OpenAPI definiert die folgenden Sicherheitsschemas:
    
    * `apiKey`: ein anwendungsspezifischer Schlüssel, der stammen kann von:
        * Einem Query-Parameter.
        * Einem Header.
        * Einem Cookie.
    * `http`: Standard-HTTP-Authentifizierungssysteme, einschließlich:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top