Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,006 for security2 (0.15 seconds)

  1. docs/tr/docs/advanced/security/index.md

    # Gelişmiş Güvenlik { #advanced-security }
    
    ## Ek Özellikler { #additional-features }
    
    [Öğretici - Kullanıcı Kılavuzu: Güvenlik](../../tutorial/security/index.md) sayfasında ele alınanların dışında güvenlikle ilgili bazı ek özellikler vardır.
    
    /// tip | İpucu
    
    Sonraki bölümler **mutlaka "gelişmiş" olmak zorunda değildir**.
    
    Ve kullanım durumunuza göre, çözüm bu bölümlerden birinde olabilir.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 717 bytes
    - Click Count (0)
  2. tests/test_security_api_key_query.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2K bytes
    - Click Count (0)
  3. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

    import com.google.android.gms.security.ProviderInstaller
    import com.squareup.moshi.Moshi
    import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
    import java.io.IOException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.security.KeyStore
    import java.security.SecureRandom
    import java.security.Security
    import java.security.cert.Certificate
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

     */
    package jcifs.pac.kerberos;
    
    import java.security.Key;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    
    import javax.security.auth.Subject;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/conditional-openapi.md

    ## About security, APIs, and docs { #about-security-apis-and-docs }
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    That doesn't add any extra security to your API, the *path operations* will still be available where they are.
    
    If there's a security flaw in your code, it will still exist.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/security/simple-oauth2.md

    Натисніть кнопку «Authorize».
    
    Використайте облікові дані:
    
    Користувач: `johndoe`
    
    Пароль: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    Після автентифікації в системі ви побачите таке:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Отримайте власні дані користувача { #get-your-own-user-data }
    
    Тепер використайте операцію `GET` зі шляхом `/users/me`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Create a `timedelta` with the expiration time of the token.
    
    Create a real JWT access token and return it.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. tests/test_security_api_key_header_optional.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(api_key)):
        if oauth_header is None:
            return None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Kullanıcıyı alın { #get-the-user }
    
    `get_current_user`, oluşturduğumuz (sahte) bir yardımcı (utility) fonksiyonu kullanacak; bu fonksiyon `str` olarak bir token alır ve Pydantic `User` modelimizi döndürür:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              Security.insertProviderAt(BouncyCastleProvider(), 1)
              Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
            } else if (platformSystemProperty == CORRETTO_PROPERTY) {
              AmazonCorrettoCryptoProvider.install()
    
              AmazonCorrettoCryptoProvider.INSTANCE.assertHealthy()
            }
    
            Platform.resetForTests()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
Back to Top