Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for wsScheme (0.06 sec)

  1. fastapi/security/oauth2.py

                Doc(
                    """
                    Security scheme name.
    
                    It will be included in the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
            description: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme description.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

      palette:
      - media: "(prefers-color-scheme)"
        toggle:
          icon: material/lightbulb-auto
          name: Switch to light mode
      - media: '(prefers-color-scheme: light)'
        scheme: default
        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb
          name: Switch to dark mode
      - media: '(prefers-color-scheme: dark)'
        scheme: slate
        primary: teal
        accent: amber
        toggle:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionSchemeProvider.java

    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * Default version scheme provider: provides singleton {@link GenericVersionScheme} instance.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:125,129:135,140,156] *}
    
    Now let's review those changes step by step.
    
    ## OAuth2 Security scheme
    
    The first change is that now we are declaring the OAuth2 security scheme with two available scopes, `me` and `items`.
    
    The `scopes` parameter receives a `dict` with each scope as a key and the description as the value:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/middleware.md

    ///
    
    ## `HTTPSRedirectMiddleware`
    
    Enforces that all incoming requests must either be `https` or `wss`.
    
    Any incoming request to `http` or `ws` will be redirected to the secure scheme instead.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. cmd/warm-backend-s3.go

    	default:
    		return nil, errors.New("insufficient parameters for S3 backend authentication")
    	}
    	opts := &minio.Options{
    		Creds:     creds,
    		Secure:    u.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	}
    	client, err := minio.New(u.Host, opts)
    	if err != nil {
    		return nil, err
    	}
    	client.SetAppInfo(fmt.Sprintf("s3-tier-%s", tier), ReleaseTag)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/warm-backend-minio.go

    	if err != nil {
    		return nil, err
    	}
    
    	creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	opts := &minio.Options{
    		Creds:           creds,
    		Secure:          u.Scheme == "https",
    		Transport:       globalRemoteTargetTransport,
    		TrailingHeaders: true,
    	}
    	client, err := minio.New(u.Host, opts)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    Then, when you type that username and password, the browser sends them in the header automatically.
    
    ## Simple HTTP Basic Auth
    
    * Import `HTTPBasic` and `HTTPBasicCredentials`.
    * Create a "`security` scheme" using `HTTPBasic`.
    * Use that `security` with a dependency in your *path operation*.
    * It returns an object of type `HTTPBasicCredentials`:
        * It contains the `username` and `password` sent.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/util.go

    	// so skip determining this information, because usually it will be not included in the certificate.
    	if trustDomain == "" {
    		for _, uri := range cert.URIs {
    			if uri.Scheme == "spiffe" {
    				trustDomain = uri.Host
    			}
    		}
    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    		NotAfter:     cert.NotAfter.Format(time.RFC3339),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    			scheme := protocolToScheme[protocol]
    			portSuffix := ""
    			if schemePortDefault[scheme] != nport {
    				portSuffix = fmt.Sprintf(":%d", nport)
    			}
    			ip := ingress.getIngressIP()
    			fmt.Fprintf(writer, "%sExposed on Ingress Gateway %s://%s%s\n", printSpaces(initPrintNum), scheme, ip, portSuffix)
    		}
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top