Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 118 for creg (0.02 sec)

  1. docs/es/docs/deployment/docker.md

    /// info | Información
    
    Existen otros formatos y herramientas para definir e instalar dependencias de paquetes.
    
    ///
    
    ### Crear el Código de **FastAPI**
    
    * Crea un directorio `app` y entra en él.
    * Crea un archivo vacío `__init__.py`.
    * Crea un archivo `main.py` con:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:15:52 UTC 2025
    - 31K bytes
    - Viewed (0)
  2. cmd/iam.go

    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    	cred, err := auth.CreateNewCredentialsWithMetadata(accessKey, secretKey, m, secretKey)
    	if err != nil {
    		return auth.Credentials{}, time.Time{}, err
    	}
    	cred.ParentUser = parentUser
    	cred.Groups = groups
    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/security/oauth2-jwt.md

    </div>
    
    Y copia el resultado a la variable `SECRET_KEY` (no uses la del ejemplo).
    
    Crea una variable `ALGORITHM` con el algoritmo usado para firmar el token JWT y configúralo a `"HS256"`.
    
    Crea una variable para la expiración del token.
    
    Define un Modelo de Pydantic que se usará en el endpoint de token para el response.
    
    Crea una función de utilidad para generar un nuevo token de acceso.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. docs/es/docs/index.md

    "_Si estás buscando aprender un **framework moderno** para construir APIs REST, échale un vistazo a **FastAPI** [...] Es rápido, fácil de usar y fácil de aprender [...]_"
    
    "_Nos hemos cambiado a **FastAPI** para nuestras **APIs** [...] Creo que te gustará [...]_"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    	return nil
    }
    
    // Returns access credentials in the request Authorization header.
    func getReqAccessCred(r *http.Request, region string) (cred auth.Credentials) {
    	cred, _, _ = getReqAccessKeyV4(r, region, serviceS3)
    	if cred.AccessKey == "" {
    		cred, _, _ = getReqAccessKeyV2(r)
    	}
    	return cred
    }
    
    // Extract request params to be sent with event notification.
    func extractReqParams(r *http.Request) map[string]string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  6. src/archive/tar/testdata/ustar-file-reg.tar

    Joe Tsai <******@****.***> 1443691829 -0700
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 06 04:31:26 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-config.go

    func (a adminAPIHandlers) ListIdentityProviderCfg(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    	password := cred.SecretKey
    
    	idpCfgType := mux.Vars(r)["type"]
    	if !madmin.ValidIDPConfigTypes.Contains(idpCfgType) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			BucketName:      bucket,
    			ObjectName:      object,
    			IsOwner:         globalActiveCred.AccessKey == cred.AccessKey,
    			Claims:          cred.Claims,
    		}) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  9. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. docs/es/docs/how-to/custom-docs-ui-assets.md

    Swagger UI lo manejará detrás de escena para ti, pero necesita este auxiliar de "redirección".
    
    ///
    
    ### Crea una *path operation* para probarlo
    
    Ahora, para poder probar que todo funciona, crea una *path operation*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[36:38] *}
    
    ### Pruébalo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Apr 28 18:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top