Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for Scheme (0.2 sec)

  1. fastapi/security/api_key.py

        app = FastAPI()
    
        query_scheme = APIKeyQuery(name="api_key")
    
    
        @app.get("/items/")
        async def read_items(api_key: str = Depends(query_scheme)):
            return {"api_key": api_key}
        ```
        """
    
        def __init__(
            self,
            *,
            name: Annotated[
                str,
                Doc("Query parameter name."),
            ],
            scheme_name: Annotated[
                Optional[str],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. fastapi/security/open_id_connect_url.py

                str,
                Doc(
                    """
                The OpenID Connect URL.
                """
                ),
            ],
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme name.
    
                    It will be included in the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. fastapi/security/http.py

        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
        ) -> Optional[HTTPAuthorizationCredentials]:
            authorization = request.headers.get("Authorization")
            scheme, credentials = get_authorization_scheme_param(authorization)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. fastapi/security/oauth2.py

                flows=flows,
                scheme_name=scheme_name,
                description=description,
                auto_error=auto_error,
            )
    
        async def __call__(self, request: Request) -> Optional[str]:
            authorization = request.headers.get("Authorization")
            scheme, param = get_authorization_scheme_param(authorization)
            if not authorization or scheme.lower() != "bearer":
                if self.auto_error:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    	for _, t := range tgts {
    		if _, ok := m[t.Endpoint]; !ok {
    			scheme := "http"
    			if t.Secure {
    				scheme = "https"
    			}
    			epHealth := epHealth{
    				Online:   true,
    				Endpoint: t.Endpoint,
    				Scheme:   scheme,
    			}
    			if prev, ok := sys.hc[t.Endpoint]; ok {
    				epHealth.lastOnline = prev.lastOnline
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. helm/minio/templates/console-service.yaml

    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}-console
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      {{- if .Values.consoleService.annotations }}
      annotations: {{- toYaml .Values.consoleService.annotations | nindent 4 }}
      {{- end }}
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:05:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/README.md

    scrape_configs:
    - job_name: minio-job
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/cluster
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Bucket centric
    
    ```yaml
    - job_name: minio-job-bucket
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/bucket
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Node centric (optional)
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class.go

    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    func parseStorageClass(storageClassEnv string) (sc StorageClass, err error) {
    	s := strings.Split(storageClassEnv, ":")
    
    	// only two elements allowed in the string - "scheme" and "number of parity drives"
    	if len(s) > 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    		if err != nil {
    			return nil
    		}
    		return &xnet.URL{
    			Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort),
    			Scheme: func() string {
    				scheme := "http"
    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top