Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,006 for security2 (0.07 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

      ':x-pack:plugin:enrich:qa:rest-with-advanced-security',
      ':x-pack:plugin:enrich:qa:rest-with-security',
      ':x-pack:plugin:eql',
      ':x-pack:plugin:eql:qa',
      ':x-pack:plugin:eql:qa:common',
      ':x-pack:plugin:eql:qa:rest',
      ':x-pack:plugin:eql:qa:security',
      ':x-pack:plugin:fleet:qa:rest',
      ':x-pack:plugin:graph',
      ':x-pack:plugin:graph:qa:with-security',
      ':x-pack:plugin:identity-provider',
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            return Stream.of(Arguments.of(OWNER_SECURITY_INFORMATION, "Owner security information only"),
                    Arguments.of(GROUP_SECURITY_INFORMATION, "Group security information only"),
                    Arguments.of(DACL_SECURITY_INFORMATION, "DACL security information only"),
                    Arguments.of(SACL_SECURITY_INFORMATION, "SACL security information only"),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. .github/ISSUE_TEMPLATE/config.yml

    blank_issues_enabled: true
    contact_links:
      - name: Question
        url: https://discuss.elastic.co/c/elasticsearch
        about: Ask (and answer) questions here.
      - name: Security Vulnerability
        url: https://www.elastic.co/community/security
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 07 00:50:18 GMT 2020
    - 312 bytes
    - Click Count (0)
  4. 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] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. tests/test_security_openid_connect.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security.open_id_connect_url import OpenIdConnect
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oid = OpenIdConnect(openIdConnectUrl="/openid")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_depends_hashable.py

    # This is more or less a workaround to make Depends and Security hashable
    # as other tools that use them depend on that
    # Ref: https://github.com/fastapi/fastapi/pull/14320
    
    from fastapi import Depends, Security
    
    
    def dep():
        pass
    
    
    def test_depends_hashable():
        dep()  # just for coverage
        d1 = Depends(dep)
        d2 = Depends(dep)
        d3 = Depends(dep, scope="function")
        d4 = Depends(dep, scope="function")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Nov 19 16:50:18 GMT 2025
    - 596 bytes
    - Click Count (0)
  7. tests/test_security_api_key_query_description.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", description="API Key Query")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. tests/test_security_api_key_query_optional.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", 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_src/security/tutorial006_an_py310.py

    from typing import Annotated
    
    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)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 361 bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Click Count (0)
Back to Top