Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 42 for tokenUrl (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/security/tutorial005_py310.py

        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    password_hash = PasswordHash.recommended()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. docs_src/security/tutorial005_an_py310.py

        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    password_hash = PasswordHash.recommended()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. docs_src/security/tutorial005_an_py39.py

        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    password_hash = PasswordHash.recommended()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_security/test_tutorial004.py

                    "OAuth2PasswordBearer": {
                        "type": "oauth2",
                        "flows": {
                            "password": {
                                "scopes": {},
                                "tokenUrl": "token",
                            }
                        },
                    }
                },
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. docs/sts/web-identity.go

    	}
    
    	ctx := context.Background()
    
    	config := oauth2.Config{
    		ClientID:     clientID,
    		ClientSecret: clientSec,
    		Endpoint: oauth2.Endpoint{
    			AuthURL:  ddoc.AuthEndpoint,
    			TokenURL: ddoc.TokenEndpoint,
    		},
    		RedirectURL: fmt.Sprintf("http://10.0.0.67:%d/oauth2/callback", port),
    		Scopes:      scopes,
    	}
    
    	state := randomState()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  6. cmd/object-lambda-handlers.go

    		tokenErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    		tokenErr.Description = "The request route included in the request is invalid"
    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    	}
    
    	if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 {
    		tokenErr := errorCodes.ToAPIErr(ErrInvalidToken)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. docs/sts/web-identity.py

    from botocore.client import Config
    from flask import Flask, request
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth"
    token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
    
    # callback url specified when the application was defined
    callback_uri = "http://localhost:8000/oauth2/callback"
    
    # keycloak id and secret
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 28 01:37:51 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>[]> tokenL = new TypeToken<List<String>[]>() {};
        assertTrue(tokenL.isSupertypeOf(StringList[].class));
        assertFalse(tokenL.isSupertypeOf(List[].class));
      }
    
      public void testAssignableParameterizedTypeToType() {
        TypeToken<List<String>> tokenL = new TypeToken<List<String>>() {};
        assertTrue(tokenL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  9. docs/en/docs/release-notes.md

        * New docs about `root_path` and `servers` in [Additional Servers](https://fastapi.tiangolo.com/advanced/behind-a-proxy/#additional-servers).
        * Update OAuth2 examples to use a relative URL for `tokenUrl="token"` to make sure those examples keep working as-is even when behind a reverse proxy.
        * Initial PR [#1596](https://github.com/tiangolo/fastapi/pull/1596) by [@rkbeatss](https://github.com/rkbeatss).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.11.md

     ([#63866](https://github.com/kubernetes/kubernetes/pull/63866), [@luxas](https://github.com/luxas))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
Back to Top