Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 891 for severity (0.06 sec)

  1. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Получить пользователя { #get-the-user }
    
    `get_current_user` будет использовать созданную нами (ненастоящую) служебную функцию, которая принимает токен типа `str` и возвращает нашу Pydantic-модель `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. cmd/sts-datatypes.go

    // MinIO API requests.
    type AssumeRoleResult struct {
    	// The identifiers for the temporary security credentials that the operation
    	// returns.
    	AssumedRoleUser AssumedRoleUser `xml:",omitempty"`
    
    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  3. tests/test_security_http_digest_optional.py

    from typing import Optional
    
    from fastapi import FastAPI, Security
    from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPDigest(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(
        credentials: Optional[HTTPAuthorizationCredentials] = Security(security),
    ):
        if credentials is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 27 12:29:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     */
    package okhttp3.internal.platform
    
    import java.security.Security
    
    actual object PlatformRegistry {
      private val isConscryptPreferred: Boolean
        get() {
          val preferredProvider = Security.getProviders()[0].name
          return "Conscrypt" == preferredProvider
        }
    
      private val isOpenJSSEPreferred: Boolean
        get() {
          val preferredProvider = Security.getProviders()[0].name
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

    import jcifs.Decodable;
    
    /**
     * Interface for Windows Data Type (DTYP) security information structures.
     * Defines constants and functionality for security information types used in
     * SMB security descriptor operations and access control management.
     *
     * @author mbechler
     */
    public interface SecurityInfo extends Decodable {
    
        /**
         * Flag indicating that owner security information is requested or being set.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. docs/tr/docs/advanced/security/index.md

    # Gelişmiş Güvenlik
    
    ## Ek Özellikler
    
    [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank} 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**.
    
    Kullanım şeklinize bağlı olarak, çözümünüz bu bölümlerden birinde olabilir.
    
    ///
    
    ## Önce Öğreticiyi Okuyun
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 698 bytes
    - Viewed (0)
  7. tests/test_security_http_basic_optional.py

    from base64 import b64encode
    from typing import Optional
    
    from fastapi import FastAPI, Security
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPBasic(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)):
        if credentials is None:
            return {"msg": "Create an account first"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import java.math.BigInteger
    import java.security.GeneralSecurityException
    import java.security.PublicKey
    import java.security.Signature
    import java.security.SignatureException
    import java.security.cert.CertificateFactory
    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/ru/docs/advanced/security/index.md

    # Расширенная безопасность { #advanced-security }
    
    ## Дополнительные возможности { #additional-features }
    
    Есть дополнительные возможности для работы с безопасностью помимо тех, что описаны в [Учебник — Руководство пользователя: Безопасность](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    /// tip | Совет
    
    Следующие разделы **не обязательно являются «продвинутыми»**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. tests/test_security_api_key_cookie.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top