Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,384 for Reader (0.05 sec)

  1. docs_src/security/tutorial004_an.py

                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Bearer"},
            )
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username}, expires_delta=access_token_expires
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            val request = HttpRequest.newBuilder()
                .uri(URI(uri))
                .apply {
                    if (githubToken.isPresent) {
                        header("Authorization", "token ${githubToken.get()}")
                    }
                }
                .build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

        )
      }
    
      private fun newEventSource(accept: String? = null): EventSource {
        val builder =
          Request.Builder()
            .url(server.url("/"))
        if (accept != null) {
          builder.header("Accept", accept)
        }
        val request = builder.build()
        val factory = createFactory(client)
        return factory.newEventSource(request, listener)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

                    log.println( "SecurityException: jcifs.smb1 will ignore System properties" );
            }
        }
    
        public static void store( OutputStream out, String header ) throws IOException {
            prp.store( out, header );
        }
    
        /**
         * List the properties in the <code>Code</code>.
         */
    
        public static void list( PrintStream out ) throws IOException {
            prp.list( out );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/security/index.md

    โš™๏ธ ๐Ÿ‘ซ, ๐Ÿ‘† ๐Ÿ’ช โœŠ ๐Ÿ“ˆ ๐ŸŒ ๐Ÿ‘ซ ๐Ÿฉ-โš“๏ธ ๐Ÿงฐ, ๐Ÿ”Œ ๐Ÿ‘‰ ๐ŸŽ“ ๐Ÿงพ โš™๏ธ.
    
    ๐Ÿ—„ ๐Ÿ”ฌ ๐Ÿ“„ ๐Ÿ’‚โ€โ™‚ โš–:
    
    * `apiKey`: ๐Ÿˆธ ๐ŸŽฏ ๐Ÿ”‘ ๐Ÿ‘ˆ ๐Ÿ’ช ๐Ÿ‘Ÿ โšช๏ธโžก๏ธ:
        * ๐Ÿ”ข ๐Ÿ”ข.
        * ๐ŸŽš.
        * ๐Ÿช.
    * `http`: ๐Ÿฉ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿค โš™๏ธ, ๐Ÿ”Œ:
        * `bearer`: ๐ŸŽš `Authorization` โฎ๏ธ ๐Ÿ’ฒ `Bearer ` โž• ๐Ÿค. ๐Ÿ‘‰ ๐Ÿ˜– โšช๏ธโžก๏ธ Oauth2๏ธโƒฃ.
        * ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ”ฐ ๐Ÿค.
        * ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ“ฐ, โ™’๏ธ.
    * `oauth2`: ๐ŸŒ Oauth2๏ธโƒฃ ๐ŸŒŒ ๐Ÿต ๐Ÿ’‚โ€โ™‚ (๐Ÿค™ "๐Ÿ’ง").
        * ๐Ÿ“š ๐Ÿ‘ซ ๐Ÿ’ง โ˜‘ ๐Ÿ— โœณ 2๏ธโƒฃ.0๏ธโƒฃ ๐Ÿค ๐Ÿ•โ€๐Ÿฆบ (๐Ÿ’– ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ”, ๐Ÿ‘ฑ๐Ÿ“”, ๐Ÿ‘ฑ๐Ÿ“”, ๐Ÿ“‚, โ™’๏ธ):
            * `implicit`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dfs/Referral.java

            }
    
            return this.size;
        }
    
    
        private static String readString ( byte[] buffer, int bufferIndex, int len ) {
            // this is not absolutely correct, but we assume that the header is aligned
            if ( ( bufferIndex % 2 ) != 0 ) {
                bufferIndex++;
            }
            return Strings.fromUNIBytes(buffer, bufferIndex, Strings.findUNITermination(buffer, bufferIndex, len));
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/HttpHeadersTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top