Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 719 for auth (0.1 sec)

  1. tests/test_tutorial/test_security/test_tutorial006_an_py39.py

        from docs_src.security.tutorial006_an import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_security_http_basic(client: TestClient):
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    @needs_py39
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      //  "key encipherment",
      //  "key agreement",
      //  "data encipherment",
      //  "cert sign",
      //  "crl sign",
      //  "encipher only",
      //  "decipher only",
      //  "any",
      //  "server auth",
      //  "client auth",
      //  "code signing",
      //  "email protection",
      //  "s/mime",
      //  "ipsec end system",
      //  "ipsec tunnel",
      //  "ipsec user",
      //  "timestamping",
      //  "ocsp signing",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                            }
                            PasswordAuthentication auth = Authenticator.requestPasswordAuthentication(null, port, protocol, "", this.authMethod);
                            if ( auth == null )
                                return null;
                            user = auth.getUserName();
                            password = new String(auth.getPassword());
                        }
                        catch ( Exception ex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  4. tests/test_security_http_basic_realm_description.py

        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"sync"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    	// map of kid to public key
    	pkMap map[string]interface{}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. .gitignore

    *~
    \#*\#
    .\#*
    
    # Vim-related files
    [._]*.s[a-w][a-z]
    [._]s[a-w][a-z]
    *.un~
    Session.vim
    .netrwhist
    
    # cscope-related files
    cscope.*
    
    # Go test binaries
    *.test
    /hack/.test-cmd-auth
    
    # JUnit test output from ginkgo e2e tests
    /junit*.xml
    
    # Mercurial files
    **/.hg
    **/.hg*
    
    # Vagrant
    .vagrant
    network_closure.sh
    
    # Local cluster env variables
    /cluster/env.sh
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package auth
    
    import (
    	"crypto/rand"
    	"crypto/subtle"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        val nextTunnelRequest =
          createTunnel()
            ?: return ConnectResult(plan = this) // Success.
    
        // The proxy decided to close the connection after an auth challenge. Retry with different
        // auth credentials.
        rawSocket?.closeQuietly()
    
        val nextAttempt = attempt + 1
        return when {
          nextAttempt < MAX_TUNNEL_ATTEMPTS -> {
            user.callConnectEnd(route, null)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-ldap.go

    	listType := r.Form.Get("listType")
    	if listType != "sts-only" && listType != "svcacc-only" && listType != "" {
    		// default to both
    		listType = ""
    	}
    
    	var serviceAccounts []auth.Credentials
    	var stsKeys []auth.Credentials
    
    	if listType == "" || listType == "sts-only" {
    		stsKeys, err = globalIAMSys.ListSTSAccounts(ctx, targetAccount)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.22.md

    - Fix an ephemeral port exhaustion bug caused by improper connection management that occurred when a large number of objects were handled by kubectl while exec auth was in use. ([#112339](https://github.com/kubernetes/kubernetes/pull/112339), [@enj](https://github.com/enj)) [SIG API Machinery and Auth]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
Back to top