Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 83 for Credential (0.16 sec)

  1. docs_src/security/tutorial005_py39.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_py310.py

        else:
            authenticate_value = "Bearer"
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. cmd/warm-backend.go

    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    // checkWarmBackend checks if tier config credentials have sufficient privileges
    // to perform all operations defined in the WarmBackend interface.
    func checkWarmBackend(ctx context.Context, w WarmBackend) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. buildscripts/disable-root.sh

    	echo "listing failed, 'minioadmin' should be enabled"
    	exit 1
    fi
    
    killall -9 minio
    
    rm -rf /tmp/multisitea/
    rm -rf /tmp/multisiteb/
    
    echo "Setup site-replication and then disable root credentials"
    
    minio server --address 127.0.0.1:9001 "http://127.0.0.1:9001/tmp/multisitea/data/disterasure/xl{1...4}" \
    	"http://127.0.0.1:9002/tmp/multisitea/data/disterasure/xl{5...8}" >/tmp/sitea_1.log 2>&1 &
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/config.go

    type TransportConfig struct {
    	// ServerList is the list of storage servers to connect with.
    	ServerList []string
    	// TLS credentials
    	KeyFile       string
    	CertFile      string
    	TrustedCAFile string
    	// function to determine the egress dialer. (i.e. konnectivity server dialer)
    	EgressLookup egressselector.Lookup
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy

                                javaRepositories {
                                    repository('custom') {
                                        resolverClass = CustomToolchainResolver
                                        credentials {
                                            username "user"
                                            password "password"
                                        }
                                        authentication {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:25 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/plugin/plugin.go

    */
    
    package plugin
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net"
    	"strings"
    	"sync"
    	"time"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/connectivity"
    	"google.golang.org/grpc/credentials/insecure"
    	v1 "k8s.io/api/core/v1"
    	utilversion "k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/klog/v2"
    )
    
    const (
    	// DRAPluginName is the name of the in-tree DRA Plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    		return true, nil
    	}
    	return false, nil
    }
    
    func newWarmBackendGCS(conf madmin.TierGCS, tier string) (*warmBackendGCS, error) {
    	// Validation code
    	if conf.Creds == "" {
    		return nil, errors.New("empty credentials unsupported")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	credsJSON, err := conf.GetCredentialJSON()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top