Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,109 for Account (0.38 sec)

  1. tests/test_security_openid_connect_optional.py

        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. tests/test_security_http_basic_optional.py

    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"}
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		// Service accounts ops
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/add-service-account").HandlerFunc(adminMiddleware(adminAPI.AddServiceAccount))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion+"/update-service-account").HandlerFunc(adminMiddleware(adminAPI.UpdateServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/help.go

    			Key:         LookupBindDN,
    			Description: `DN for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindDN),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         LookupBindPassword,
    			Description: `Password for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindPassword),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. docs/iam/access-manager-plugin.go

    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	m := reqMap["input"].(map[string]interface{})
    	accountValue := m["account"].(string)
    	actionValue := m["action"].(string)
    
    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/kubeconfig-skip-tls

    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 342 bytes
    - Viewed (0)
  7. dbflute_fess/playsql/replace-schema.sql

    create table DUMMY_MEMBER(
        MEMBER_ID INTEGER IDENTITY NOT NULL PRIMARY KEY,
        MEMBER_NAME VARCHAR(200) NOT NULL,
        MEMBER_ACCOUNT VARCHAR(50) NOT NULL,
        MEMBER_STATUS_CODE CHAR(3) NOT NULL,
        FORMALIZED_DATETIME DATETIME,
        BIRTHDATE DATE,
        REGISTER_DATETIME DATETIME NOT NULL,
        REGISTER_USER VARCHAR(200) NOT NULL,
        UPDATE_DATETIME DATETIME NOT NULL,
        UPDATE_USER VARCHAR(200) NOT NULL,
        VERSION_NO BIGINT NOT NULL
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 449 bytes
    - Viewed (0)
  8. src/main/java/jcifs/SidResolver.java

    
        /**
         * This specialized method returns a Map of users and local groups for the
         * target server where keys are SIDs representing an account and each value
         * is an ArrayList of SIDs represents the local groups that the account is
         * a member of.
         * <p/>
         * This method is designed to assist with computing access control for a
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-egress/templates/rolebindings.yaml

        operator.istio.io/component: "EgressGateways"
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: {{ $gateway.name }}-sds
    subjects:
    - kind: ServiceAccount
      name: {{ $gateway.name }}-service-account
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 630 bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-ingress/templates/serviceaccount.yaml

    apiVersion: v1
    kind: ServiceAccount
    {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
    {{- range .Values.global.imagePullSecrets }}
      - name: {{ . }}
    {{- end }}
    {{- end }}
    metadata:
      name: {{ $gateway.name }}-service-account
      namespace: {{ .Release.Namespace }}
      labels:
    {{ $gateway.labels | toYaml | trim | indent 4 }}
        release: {{ .Release.Name }}
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 752 bytes
    - Viewed (0)
Back to top