Catalog PyPI
Back to packageRELEASE DETAILS

1.61.0

PyPI

affinidi_tdk_login_configuration_client

OidcVpAdapterBackend

oidcvpadapterbackendopenapiopenapi-generator
Published11 Mar 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 1.61.0 documentation

affinidi_tdk_login_configuration_client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

For more information, please visit https://www.affinidi.com

Documentation is available at https://docs.affinidi.com/dev-tools/affinidi-tdk/clients/login-configuration/

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install affinidi_tdk_login_configuration_client

Then import the package:

import affinidi_tdk_login_configuration_client

Setuptools

Install via Setuptools.

python setup.py install --user

Then import the package:

import affinidi_tdk_login_configuration_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import time
import affinidi_tdk_login_configuration_client
from affinidi_tdk_login_configuration_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://apse1.api.affinidi.io/vpa
# See configuration.py for a list of all supported configuration parameters.
configuration = affinidi_tdk_login_configuration_client.Configuration(
    host = "https://apse1.api.affinidi.io/vpa"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ProjectTokenAuth
configuration.api_key['ProjectTokenAuth'] = os.environ["API_KEY"]

# Configure a hook to auto-refresh API key for your personal access token (PAT), if expired
import affinidi_tdk_auth_provider

stats = {
  apiGatewayUrl,
  keyId,
  passphrase,
  privateKey,
  projectId,
  tokenEndpoint,
  tokenId,
}
authProvider = affinidi_tdk_auth_provider.AuthProvider(stats)
configuration.refresh_api_key_hook = lambda api_client: authProvider.fetch_project_scoped_token()

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ProjectTokenAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with affinidi_tdk_login_configuration_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = affinidi_tdk_login_configuration_client.AllowListApi(api_client)
    group_names_input = affinidi_tdk_login_configuration_client.GroupNamesInput() # GroupNamesInput | List of group names as input (optional)

    try:
        api_instance.allow_groups(group_names_input=group_names_input)
    except ApiException as e:
        print("Exception when calling AllowListApi->allow_groups: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://apse1.api.affinidi.io/vpa

ClassMethodHTTP requestDescription
AllowListApiallow_groupsPOST /v1/allow-list/groups/add
AllowListApidisallow_groupsPOST /v1/allow-list/groups/remove
AllowListApilist_allowed_groupsGET /v1/allow-list/groups
ConfigurationApicreate_login_configurationsPOST /v1/login/configurationsCreate a new login configuration
ConfigurationApidelete_login_configurations_by_idDELETE /v1/login/configurations/{configurationId}Delete login configurations by ID
ConfigurationApiget_client_metadata_by_client_idGET /v1/login/configurations/metadata/{clientId}Get Client Metadata By OAuth 2.0 Client ID
ConfigurationApiget_login_configurations_by_idGET /v1/login/configurations/{configurationId}Get login configuration by ID
ConfigurationApilist_login_configurationsGET /v1/login/configurationsList login configurations
ConfigurationApiupdate_login_configurations_by_idPATCH /v1/login/configurations/{configurationId}Update login configurations by ID
DenyListApiblock_groupsPOST /v1/deny-list/groups/add
DenyListApiblock_usersPOST /v1/deny-list/users/add
DenyListApilist_blocked_groupsGET /v1/deny-list/groups
DenyListApilist_blocked_usersGET /v1/deny-list/users
DenyListApiunblock_groupsPOST /v1/deny-list/groups/remove
DenyListApiunblock_usersPOST /v1/deny-list/users/remove
GroupApiadd_user_to_groupPOST /v1/groups/{groupName}/users
GroupApicreate_groupPOST /v1/groups
GroupApidelete_groupDELETE /v1/groups/{groupName}
GroupApiget_group_by_idGET /v1/groups/{groupName}
GroupApilist_group_user_mappingsGET /v1/groups/{groupName}/users
GroupApilist_groupsGET /v1/groups
GroupApiremove_user_from_groupDELETE /v1/groups/{groupName}/users
IdpApiv1_login_project_project_id_oauth2_auth_getGET /v1/login/project/{projectId}/oauth2/authOAuth 2.0 Authorize Endpoint
IdpApiv1_login_project_project_id_oauth2_revoke_postPOST /v1/login/project/{projectId}/oauth2/revokeRevoke OAuth 2.0 Access or Refresh Token
IdpApiv1_login_project_project_id_oauth2_sessions_logout_getGET /v1/login/project/{projectId}/oauth2/sessions/logoutOpenID Connect Front- and Back-channel Enabled Logout
IdpApiv1_login_project_project_id_oauth2_token_postPOST /v1/login/project/{projectId}/oauth2/tokenThe OAuth 2.0 Token Endpoint
IdpApiv1_login_project_project_id_userinfo_getGET /v1/login/project/{projectId}/userinfoOpenID Connect Userinfo
IdpApiv1_login_project_project_id_well_known_jwks_json_getGET /v1/login/project/{projectId}/.well-known/jwks.jsonDiscover Well-Known JSON Web Keys
IdpApiv1_login_project_project_id_well_known_openid_configuration_getGET /v1/login/project/{projectId}/.well-known/openid-configurationOpenID Connect Discovery

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

AwsSigV4

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

ApiKey

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

bearerAuth

  • Type: Bearer authentication (JWT)

ConsumerTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

UserTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

ProjectTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

Author

info@affinidi.com

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
urllib3
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
urllib3>=1.25.3runtime
python-dateutil
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
python-dateutil>=2.8.2runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
pydantic<2.0.0,>=1.10.5runtime
aenum
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.8",
  "evaluation": "NOT_EVALUATED"
}
aenum>=3.1.11runtime

Distribution files

2 collected
affinidi_tdk_login_configuration_client-1.61.0-py3-none-any.whl

bdist_wheel · 96.19 KB · Python py3

Source file
affinidi_tdk_login_configuration_client-1.61.0.tar.gz

sdist · 49.21 KB · Python source

Source file

Repository

PENDING
affinidi/affinidi-tdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9813952d92b4566ea5de0ab90f5f6d3bbe92880ea258ebd409b1edf2e8009549

Other collected versions

View all collected versions →