- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 252 for authenticate (0.07 sec)
-
src/main/java/jcifs/http/NtlmHttpFilter.java
ssn.removeAttribute("NtlmHttpAuth"); } } resp.setHeader("WWW-Authenticate", "NTLM"); if ( offerBasic ) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
code = 401, headers = headersOf("WWW-Authenticate", "Basic realm=\"protected area\""), body = "Please authenticate.", ), ) server.enqueue( MockResponse(body = "Authenticated!"), ) java.net.Authenticator.setDefault(RecordingAuthenticator()) client = client.newBuilder() .authenticator(JavaNetAuthenticator()) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
* token68: * * ``` * WWW-Authenticate: Digest foo=bar * WWW-Authenticate: Digest foo= * ``` * * Similarly, the first line has one challenge and the second line has two challenges: * * ``` * WWW-Authenticate: Digest ,foo=bar * WWW-Authenticate: Digest ,foo * ``` */ fun Headers.parseChallenges(headerName: String): List<Challenge> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
okhttp-urlconnection/api/okhttp-urlconnection.api
public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator { public fun <init> ()V public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; } public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar { public fun <init> (Ljava/net/CookieHandler;)V public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List; public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 423 bytes - Viewed (0) -
common-protos/k8s.io/api/authentication/v1/generated.proto
message TokenReviewStatus { // Authenticated indicates that the token was associated with a known user. // +optional optional bool authenticated = 1; // User is the UserInfo associated with the provided token. // +optional optional UserInfo user = 2; // Audiences are audience identifiers chosen by the authenticator that are
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* certificate is not included in this chain. * * The client's handshake certificates must include a set of trusted root certificates. They will * be used to authenticate the server's certificate chain. Typically this is a set of well-known * root certificates that is distributed with the HTTP client or its platform. It may be * augmented by certificates private to an organization or service.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
{!> ../../docs_src/security/tutorial003.py!} ``` //// /// info The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec. Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header. In the case of bearer tokens (our case), the value of that header should be `Bearer`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None: raise credentials_exception
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
async def get_current_user(token: str = Depends(oauth2_scheme)): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None: raise credentials_exception
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4K bytes - Viewed (0)