Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 563 for password (0.07 sec)

  1. docs_src/extra_models/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
        email: EmailStr
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 899 bytes
    - Viewed (0)
  2. docs/en/docs/project-generation.md

        - ๐Ÿงช [Playwright](https://playwright.dev) for End-to-End testing.
        - ๐Ÿฆ‡ Dark mode support.
    - ๐Ÿ‹ [Docker Compose](https://www.docker.com) for development and production.
    - ๐Ÿ”’ Secure password hashing by default.
    - ๐Ÿ”‘ JWT token authentication.
    - ๐Ÿ“ซ Email based password recovery.
    - โœ… Tests with [Pytest](https://pytest.org).
    - ๐Ÿ“ž [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/security/http-basic-auth.md

    ๐Ÿต ๐Ÿ‘ˆ, ๐Ÿ‘ฅ ๐Ÿฅ‡ ๐Ÿ—œ `username` & `password` `bytes` ๐Ÿ”ข ๐Ÿ‘ซ โฎ๏ธ ๐Ÿ” -8๏ธโƒฃ.
    
    โคด๏ธ ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ `secrets.compare_digest()` ๐Ÿšš ๐Ÿ‘ˆ `credentials.username` `"stanleyjobson"`, & ๐Ÿ‘ˆ `credentials.password` `"swordfish"`.
    
    ```Python hl_lines="1  11-21"
    {!../../docs_src/security/tutorial007.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ”œ ๐ŸŽ:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. internal/event/target/kafka_scram_client_contrib.go

    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

      /**
       * Returns the decoded password, or an empty string if none is present.
       *
       * | URL                              | `password()` |
       * | :------------------------------- | :----------- |
       * | `http://host/`                   | `""`         |
       * | `http://username@host/`          | `""`         |
       * | `http://username:password@host/` | `"password"` |
       * | `http://a%20b:c%20d@host/`       | `"c d"`      |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. tests/test_response_model_data_filter.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        email: str
    
    
    class UserCreate(UserBase):
        password: str
    
    
    class UserDB(UserBase):
        hashed_password: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    class PetOut(BaseModel):
        name: str
        owner: UserBase
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtStatus.java

            "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
            "Logon failure: user not allowed to log on to this computer.", "Logon failure: the specified account password has expired.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 10:09:29 UTC 2019
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to <tt>Authentication:
     * BASIC</tt> but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    			return errors.New("format value unrecognized")
    		}
    	}
    	if a.Index == "" {
    		return errors.New("empty index value")
    	}
    
    	if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") {
    		return errors.New("username and password should be set in pairs")
    	}
    
    	return nil
    }
    
    // ElasticsearchTarget - Elasticsearch target.
    type ElasticsearchTarget struct {
    	initOnce once.Init
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

        private final Map<String, List<Pair<Pattern, String>>> configPasswordMap = new ConcurrentHashMap<>();
    
        public void addPassword(final String regex, final String password) {
            passwordMap.put(Pattern.compile(regex), password);
        }
    
        protected String getPassword(final Map<String, String> params) {
            final String url = params != null ? params.get(ExtractData.URL) : null;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top