Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for access_token (0.14 sec)

  1. src/main/resources/fess_indices/fess_config.access_token/access_token.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 529 bytes
    - Viewed (0)
  2. src/main/resources/fess_indices/fess_config.access_token.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 173 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial004.py

        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    def test_login(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        content = response.json()
        assert "access_token" in content
        assert content["token_type"] == "bearer"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/main/config/es/fess_config_access_token.json

    {
      "fess_config.access_token" : {
        "aliases" : { },
        "mappings" : {
          "access_token" : {
            "properties" : {
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "expiredTime" : {
                "type" : "long"
              },
              "name" : {
                "type" : "keyword"
              },
              "parameter_name" : {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005.py

        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    def test_login(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        content = response.json()
        assert "access_token" in content
        assert content["token_type"] == "bearer"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

      public final boolean ok;
      public final String access_token;
      public final String scope;
      public final String user_id;
      public final String team_name;
      public final String team_id;
    
      public OAuthSession(
          boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) {
        this.ok = ok;
        this.access_token = accessToken;
        this.scope = scope;
        this.user_id = userId;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_an_py39.py

                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)
    async def read_users_me(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_an_py310.py

        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scope": " ".join(form_data.scopes)},
            expires_delta=access_token_expires,
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005_an_py39.py

        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scope": " ".join(form_data.scopes)},
            expires_delta=access_token_expires,
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_py39.py

        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scope": " ".join(form_data.scopes)},
            expires_delta=access_token_expires,
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top