All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
auth_config_auth_config_get | GET /auth_config | Get suggested authentication configuration |
AuthConfig auth_config_auth_config_get()
Get suggested authentication configuration
import time
import os
import compute_api_client
from compute_api_client.models.auth_config import AuthConfig
from compute_api_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = compute_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
async with compute_api_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = compute_api_client.AuthConfigApi(api_client)
try:
# Get suggested authentication configuration
api_response = await api_instance.auth_config_auth_config_get()
print("The response of AuthConfigApi->auth_config_auth_config_get:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AuthConfigApi->auth_config_auth_config_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]