Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 275 for beraber (0.19 sec)

  1. pkg/kubeapiserver/authenticator/config.go

    				Name:        "authorization",
    				In:          "header",
    				Description: "Bearer Token authentication",
    			},
    		}
    		securitySchemesV3["BearerToken"] = &spec3.SecurityScheme{
    			SecuritySchemeProps: spec3.SecuritySchemeProps{
    				Type:        "apiKey",
    				Name:        "authorization",
    				In:          "header",
    				Description: "Bearer Token authentication",
    			},
    		}
    	}
    
    	if len(authenticators) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_password_bearer_optional_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. tests/test_security_oauth2.py

        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "Bearer footokenbar"}
    
    
    def test_security_oauth2_password_other_header():
        response = client.get("/users/me", headers={"Authorization": "Other footokenbar"})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. tests/test_security_oauth2_optional_description.py

        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "Bearer footokenbar"}
    
    
    def test_security_oauth2_password_other_header():
        response = client.get("/users/me", headers={"Authorization": "Other footokenbar"})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. cluster/common.sh

    }
    
    # Get the bearer token for the current-context in kubeconfig if one exists.
    # Assumed vars:
    #   KUBECONFIG  # if unset, defaults to global
    #   KUBE_CONTEXT  # if unset, defaults to current-context
    #
    # Vars set:
    #   KUBE_BEARER_TOKEN
    #
    # KUBE_BEARER_TOKEN will be empty if no current-context is set, or the
    # current-context user does not exist or contain a bearer token entry.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 15:36:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/security/index.md

    * `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:
        * `bearer`: um header de `Authorization` com valor de `Bearer` adicionado de um token. Isso é herança do OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    * `oauth2`: todas as formas do OAuth2 para lidar com segurança (chamados "fluxos").
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 24 14:47:15 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/security/simple-oauth2.md

        {!> ../../../docs_src/security/tutorial003_py310.py!}
        ```
    
    !!! info
        🌖 🎚 `WWW-Authenticate` ⏮️ 💲 `Bearer` 👥 🛬 📥 🍕 🔌.
    
        🙆 🇺🇸🔍 (❌) 👔 📟 4️⃣0️⃣1️⃣ "⛔" 🤔 📨 `WWW-Authenticate` 🎚.
    
        💼 📨 🤝 (👆 💼), 💲 👈 🎚 🔜 `Bearer`.
    
        👆 💪 🤙 🚶 👈 ➕ 🎚 & ⚫️ 🔜 👷.
    
        ✋️ ⚫️ 🚚 📥 🛠️ ⏮️ 🔧.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. security/tools/jwt/samples/README.md

    ```bash
    TOKEN=$(curl https://raw.githubusercontent.com/istio/istio/master/security/tools/jwt/samples/demo.jwt -s)
    curl --header "Authorization: Bearer $TOKEN" $INGRESS_HOST/headers -s -o /dev/null -w "%{http_code}\n"
    ```
    
    Alternatively, you can use the `gen-jwt.py` script to create new test token:
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 24 15:56:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. pkg/http/headers/builder.go

    	b.headers.Set(key, value)
    	return b
    }
    
    // WithAuthz sets the Authorization header with the given token.
    func (b *Builder) WithAuthz(token string) *Builder {
    	if token != "" {
    		return b.With(Authorization, "Bearer "+token)
    	}
    	return b
    }
    
    // WithHost sets the Host header to the given value.
    func (b *Builder) WithHost(host string) *Builder {
    	return b.With(Host, host)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. docs/fa/docs/tutorial/security/index.md

    * شیوه `apiKey`: یک کلید اختصاصی برای برنامه که می‌تواند از موارد زیر استفاده شود:
        * پارامتر جستجو.
        * هدر.
        * کوکی.
    * شیوه `http`: سیستم‌های استاندارد احراز هویت HTTP، از جمله:
        * مقدار `bearer`: یک هدر `Authorization` با مقدار `Bearer` به همراه یک توکن. این از OAuth2 به ارث برده شده است.
        * احراز هویت پایه HTTP.
        * ویژگی HTTP Digest و غیره.
    * شیوه `oauth2`: تمام روش‌های OAuth2 برای مدیریت امنیت (به نام "flows").
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 15:06:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top