Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 117 for client_id (0.09 seconds)

  1. fastapi/security/oauth2.py

            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
    Created: 2026-04-05 07:19
    - Last Modified: 2026-03-24 16:32
    - 23.6K bytes
    - Click Count (0)
  2. docs_src/websockets_/tutorial003_py310.py

                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var client_id = Date.now()
                document.querySelector("#ws-id").textContent = client_id;
                var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`);
                ws.onmessage = function(event) {
                    var messages = document.getElementById('messages')
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-27 12:34
    - 2.5K bytes
    - Click Count (0)
  3. docs/sts/keycloak.md

    Before being able to authenticate against the Admin REST API using a client_id and a client_secret you need to make sure the client is configured as it follows:
    
    - `account` client_id is a confidential client that belongs to the realm `{realm}`
    - `account` client_id is has **Service Accounts Enabled** option enabled.
    - `account` client_id has a custom "Audience" mapper, in the Mappers section.
    Created: 2026-04-05 19:28
    - Last Modified: 2025-08-12 18:20
    - 8.1K bytes
    - Click Count (0)
  4. docs/sts/web-identity.py

    
    def make_authorization_url():
        # Generate a random string for the state parameter
        # Save it for use later to prevent xsrf attacks
    
        state = str(uuid4())
        params = {"client_id": client_id,
                  "response_type": "code",
                  "state": state,
                  "redirect_uri": callback_uri,
                  "scope": "openid"}
    
        url = authorize_url + "?" + urllib.parse.urlencode(params)
    Created: 2026-04-05 19:28
    - Last Modified: 2021-07-28 01:37
    - 2.9K bytes
    - Click Count (0)
  5. docs/sts/casdoor.md

    MINIO_IDENTITY_OPENID_COMMENT       (sentence)  optionally add a comment to this setting
    ```
    
    Set `identity_openid` config with `config_url`, `client_id` and restart MinIO
    
    ```
    ~ mc admin config set myminio identity_openid config_url="http://CASDOOR_ENDPOINT/.well-known/openid-configuration" client_id=<client id> client_secret=<client secret> claim_name="tag"
    ```
    
    Created: 2026-04-05 19:28
    - Last Modified: 2025-08-12 18:20
    - 6.6K bytes
    - Click Count (0)
  6. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
            .add(new SlackJsonAdapters())
            .build();
        this.clientId = clientId;
        this.clientSecret = clientSecret;
    Created: 2026-04-03 11:42
    - Last Modified: 2018-07-06 19:30
    - 4.4K bytes
    - Click Count (0)
  7. tests/test_security_oauth2.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-08 10:18
    - 9.8K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 9.9K bytes
    - Click Count (0)
  9. tests/test_security_oauth2_optional.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: 2026-04-05 07:19
    - Last Modified: 2026-02-17 09:59
    - 9.8K bytes
    - Click Count (0)
  10. docs/sts/wso2.md

      - Navigate to service provider section, expand Inbound Authentication Configurations and expand OAuth/OpenID Connect Configuration.
        - Copy the OAuth Client Key as the value for `<CLIENT_ID>`.
        - Copy the OAuth Client Secret as the value for `<CLIENT_SECRET>`.
      - By default, `<IS_HOST>` is localhost. However, if using a public IP, the respective IP address or domain needs to be specified.
    Created: 2026-04-05 19:28
    - Last Modified: 2025-08-12 18:20
    - 8.7K bytes
    - Click Count (0)
Back to Top