Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Hosken (0.27 sec)

  1. cmd/auth-handler.go

    	token := getSessionToken(r)
    	if token != "" && cred.AccessKey == "" {
    		// x-amz-security-token is not allowed for anonymous access.
    		return nil, ErrNoAccessKey
    	}
    
    	if token == "" && cred.IsTemp() && !cred.IsServiceAccount() {
    		// Temporary credentials should always have x-amz-security-token
    		return nil, ErrInvalidToken
    	}
    
    	if token != "" && !cred.IsTemp() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. docs/sts/web-identity.md

    - The redirection URI (callback handler) receives the OAuth2 callback, verifies the state parameter, and obtains a Token.
    - Using the id_token the callback handler further talks to Google OAuth2 Token URL to obtain an JWT id_token.
    - Once obtained the JWT id_token is further sent to STS endpoint i.e MinIO to retrieve temporary credentials.
    - Temporary credentials are displayed on the browser upon successful retrieval.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. internal/event/target/nats.go

    		connOpts = append(connOpts, nats.UserInfo(n.Username, n.Password))
    	}
    	if n.UserCredentials != "" {
    		connOpts = append(connOpts, nats.UserCredentials(n.UserCredentials))
    	}
    	if n.Token != "" {
    		connOpts = append(connOpts, nats.Token(n.Token))
    	}
    	if n.Secure || n.TLS && n.TLSSkipVerify {
    		connOpts = append(connOpts, nats.Secure(nil))
    	} else if n.TLS {
    		connOpts = append(connOpts, nats.Secure(&tls.Config{RootCAs: n.RootCAs}))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types_gen.go

    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "Token":
    			z.Token, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Token")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  5. internal/logger/config.go

    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint   = "endpoint"
    	AuthToken  = "auth_token"
    	ClientCert = "client_cert"
    	ClientKey  = "client_key"
    	BatchSize  = "batch_size"
    	QueueSize  = "queue_size"
    	QueueDir   = "queue_dir"
    	Proxy      = "proxy"
    
    	KafkaBrokers       = "brokers"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/metrics.go

    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    func NoAuthMiddleware(h http.Handler) http.Handler {
    	return h
    }
    
    // AuthMiddleware checks if the bearer token is valid and authorized.
    func AuthMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    	// atomic time of last success
    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. cmd/common-main.go

    				os.Setenv("CONSOLE_PROMETHEUS_EXTRA_LABELS", value)
    			}
    		}
    		// Support Prometheus Auth Token
    		if value := env.Get(config.EnvMinIOPrometheusAuthToken, ""); value != "" {
    			os.Setenv("CONSOLE_PROMETHEUS_AUTH_TOKEN", value)
    		}
    	}
    	// Enable if LDAP is enabled.
    	if globalIAMSys.LDAPConfig.Enabled() {
    		os.Setenv("CONSOLE_LDAP_ENABLED", config.EnableOn)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. cmd/api-response.go

    	}
    	data.CommonPrefixes = prefixes
    	return data
    }
    
    // generates an ListObjectsV2 response for the said bucket with other enumerated options.
    func generateListObjectsV2Response(bucket, prefix, token, nextToken, startAfter, delimiter, encodingType string, fetchOwner, isTruncated bool, maxKeys int, objects []ObjectInfo, prefixes []string, metadata metaCheckFn) ListObjectsV2Response {
    	contents := make([]Object, 0, len(objects))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  10. internal/grid/muxclient.go

    					Flags: FlagEOF,
    				}
    				msg.setZeroPayloadFlag()
    				err := m.send(msg)
    				if err != nil {
    					m.addErrorNonBlockingClose(internalResp, err)
    				}
    				return
    			}
    			// Grab a send token.
    			select {
    			case <-m.ctx.Done():
    				m.addErrorNonBlockingClose(internalResp, context.Cause(m.ctx))
    				errState = true
    				continue
    			case <-m.outBlock:
    			}
    			msg := message{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top