Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 395 for Password (0.11 seconds)

  1. docs_src/response_model/tutorial003_01_py310.py

    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 317 bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
                        p.setPassword(authCtx.get(AuthenticationContext.PASSWORD));
                        p.setNtlmDomain(authCtx.get(AuthenticationContext.NTLM_DOMAIN));
                        p.setNtlmHost(authCtx.get(AuthenticationContext.NTLM_WORKSTATION));
                        authCtx.close();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/request-forms.md

    `Body` 또는 `Query`와 동일한 방식으로 폼 매개변수를 만듭니다:
    
    {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}
    
    예를 들어, OAuth2 사양을 사용할 수 있는 방법 중 하나("패스워드 플로우"라고 함)로 `username`과 `password`를 폼 필드로 보내야 합니다.
    
    <abbr title="specification">사양</abbr>에서는 필드 이름이 `username` 및 `password`로 정확하게 명명되어야 하고, JSON이 아닌 폼 필드로 전송해야 합니다.
    
    `Form`을 사용하면 유효성 검사, 예제, 별칭(예: `username` 대신 `user-name`) 등을 포함하여 `Body`(및 `Query`, `Path`, `Cookie`)와 동일한 구성을 선언할 수 있습니다.
    
    /// info | 정보
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:42:55 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. docs_src/response_model/tutorial002_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
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 318 bytes
    - Click Count (0)
  5. cmd/admin-handlers-idp-ldap.go

    	}
    
    	// Encode result and send response.
    
    	data, err := json.Marshal(res)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	password := cred.SecretKey
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:46:04 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  6. docs_src/response_model/tutorial003_01_py39.py

    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 349 bytes
    - Click Count (0)
  7. internal/config/identity/openid/provider/keycloak.go

    	client   http.Client
    	adminURL string
    	realm    string
    
    	// internal value refreshed
    	accessToken Token
    }
    
    // LoginWithUser authenticates username/password, not needed for Keycloak
    func (k *KeycloakProvider) LoginWithUser(username, password string) error {
    	return ErrNotImplemented
    }
    
    // LoginWithClientID is implemented by Keycloak service account support
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/index.md

    But first, let's check some small concepts.
    
    ## In a hurry? { #in-a-hurry }
    
    If you don't care about any of these terms and you just need to add security with authentication based on username and password *right now*, skip to the next chapters.
    
    ## OAuth2 { #oauth2 }
    
    OAuth2 is a specification that defines several ways to handle authentication and authorization.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        },
    
        PASSWORD {
          override fun urlString(value: String): String = "http://:$******@****.***/"
    
          override fun encodedValue(url: HttpUrl): String = url.encodedPassword
    
          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
          ) {
            builder.password(value)
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. docs/en/docs/reference/security/index.md

    ::: fastapi.security.HTTPBasicCredentials
    
    ## OAuth2 Authentication
    
    ::: fastapi.security.OAuth2
    
    ::: fastapi.security.OAuth2AuthorizationCodeBearer
    
    ::: fastapi.security.OAuth2PasswordBearer
    
    ## OAuth2 Password Form
    
    ::: fastapi.security.OAuth2PasswordRequestForm
    
    ::: fastapi.security.OAuth2PasswordRequestFormStrict
    
    ## OAuth2 Security Scopes in Dependencies
    
    ::: fastapi.security.SecurityScopes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top