- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 704 for Username (0.21 sec)
-
docs_src/security/tutorial003.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 2.4K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
# ๐ Oauth2๏ธโฃ โฎ๏ธ ๐ & ๐จ ๐ โก๏ธ ๐ โช๏ธโก๏ธ โฎ๏ธ ๐ & ๐ฎ โ ๐ โ๏ธ ๐ ๐โโ ๐ง. ## ๐ค `username` & `password` ๐ฅ ๐ โ๏ธ **FastAPI** ๐โโ ๐ ๐ค `username` & `password`. Oauth2๏ธโฃ โ ๐ ๐โ โ๏ธ "๐ ๐ง" (๐ ๐ฅ โ๏ธ) ๐ฉโ๐ป/๐ฉโ๐ป ๐ ๐จ `username` & `password` ๐ ๐จ ๐ฝ. & ๐ ๐ฌ ๐ ๐ โ๏ธ ๐ ๐ ๐. `user-name` โ๏ธ `email` ๐ซ๐ ๐ท. โ๏ธ ๐ซ ๐, ๐ ๐ช ๐ฆ โซ๏ธ ๐ ๐ ๐ ๐ ๐ฉโ๐ป ๐ธ. & ๐ ๐ฝ ๐ท ๐ช โ๏ธ ๐ ๐ ๐ ๐ ๐.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileAuthenticationCQ.java
TermQueryBuilder builder = regTermQ("username", username); if (opLambda != null) { opLambda.callback(builder); } } public void setUsername_NotEqual(String username) { setUsername_NotTerm(username, null); } public void setUsername_NotTerm(String username) { setUsername_NotTerm(username, null);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 88.1K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
Betrachten wir es also aus dieser vereinfachten Sicht: * Der Benutzer gibt den `username` und das `password` im Frontend ein und drรผckt `Enter`. * Das Frontend (das im Browser des Benutzers lรคuft) sendet diesen `username` und das `password` an eine bestimmte URL in unserer API (deklariert mit `tokenUrl="token"`). * Die API รผberprรผft den `username` und das `password` und antwortet mit einem โTokenโ (wir haben davon noch nichts implementiert).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:08 GMT 2024 - 10.3K bytes - Viewed (0) -
internal/config/identity/ldap/ldap.go
if err = l.LDAP.LookupBind(conn); err != nil { return "", err } // Check if the passed in username is a valid DN. if !l.ParsesAsDN(username) { // We consider it as a login username and attempt to check it exists in // the directory. bindDN, err := l.LDAP.LookupUserDN(conn, username) if err != nil { if strings.Contains(err.Error(), "User DN not found for") { return "", nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 9.9K bytes - Viewed (0) -
docs_src/security/tutorial003_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 2.4K bytes - Viewed (0) -
docs_src/security/tutorial003_an.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs_src/security/tutorial003_an_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs_src/nosql_databases/tutorial001.py
def get_user(bucket: Bucket, username: str): doc_id = f"userprofile::{username}" result = bucket.get(doc_id, quiet=True) if not result.value: return None user = UserInDB(**result.value) return user # FastAPI specific code app = FastAPI() @app.get("/users/{username}", response_model=User) def read_user(username: str): bucket = get_bucket()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.3K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
In HTTP Basic Auth, the application expects a header that contains a username and a password. If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password. Then, when you type that username and password, the browser sends them in the header automatically.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 14:33:05 GMT 2024 - 5.9K bytes - Viewed (0)