- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,756 for securityv1 (0.21 sec)
-
src/main/java/jcifs/smb/StaticJAASConfiguration.java
*/ package jcifs.smb; import java.util.HashMap; import java.util.Map; import javax.security.auth.login.AppConfigurationEntry; import javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag; import javax.security.auth.login.Configuration; /** * @author mbechler * */ class StaticJAASConfiguration extends Configuration {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0) -
fastapi/security/http.py
[FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 15:29:38 UTC 2024 - 13.2K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
from base64 import b64encode from fastapi import FastAPI, Security from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.testclient import TestClient app = FastAPI() security = HTTPBasic(realm="simple") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password} client = TestClient(app)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/istio-agent/plugins.go
"istio.io/istio/pkg/log" "istio.io/istio/pkg/security" citadel "istio.io/istio/security/pkg/nodeagent/caclient/providers/citadel" ) // WARNING WARNING WARNING // These interfaces must be stable to allow vendors plug custom CAs. type RootCertProvider interface { GetKeyCertsForCA() (string, string) FindRootCAForCA() (string, error) } var providers = make(map[string]func(*security.Options, RootCertProvider) (security.Client, error))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 03:32:57 UTC 2024 - 2.7K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/xfcc_authenticator.go
"github.com/alecholmes/xfccparser" "istio.io/istio/pilot/pkg/features" "istio.io/istio/pkg/log" "istio.io/istio/pkg/security" ) const ( XfccAuthenticatorType = "XfccAuthenticator" ) // XfccAuthenticator extracts identities from Xfcc header. type XfccAuthenticator struct{} var _ security.Authenticator = &XfccAuthenticator{} func (xff XfccAuthenticator) AuthenticatorType() string { return XfccAuthenticatorType
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 17:05:56 UTC 2024 - 3K bytes - Viewed (0) -
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 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) return user @app.get("/users/me")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml
when: - key: request.auth.claims[iss] values: ["https://accounts.google.com"] --- apiVersion: security.istio.io/v1beta1 kind: AuthorizationPolicy metadata: name: meshwide-httpbin namespace: istio-system # valid: it applies to whole mesh spec: {} --- apiVersion: security.istio.io/v1beta1 kind: AuthorizationPolicy metadata: name: meshwide-httpbin-v1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 08 14:14:46 UTC 2023 - 7.8K bytes - Viewed (0) -
pkg/workloadapi/security/authorization.pb.go
7, // 6: istio.security.Match.not_namespaces:type_name -> istio.security.StringMatch 7, // 7: istio.security.Match.principals:type_name -> istio.security.StringMatch 7, // 8: istio.security.Match.not_principals:type_name -> istio.security.StringMatch 6, // 9: istio.security.Match.source_ips:type_name -> istio.security.Address 6, // 10: istio.security.Match.not_source_ips:type_name -> istio.security.Address
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 29.7K bytes - Viewed (0) -
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: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0)