affinidi_tdk_login_configuration_client 1.13.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Affinidi TDK dart client for Affinidi LOGIN CONFIGURATION

affinidi_tdk_login_configuration_client (EXPERIMENTAL)

Affinidi TDK dart client for Affinidi LOGIN CONFIGURATION

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_login_configuration_client: ^1.0.0

Github

This Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_login_configuration_client:
    git:
      url: https://github.com/affinidi/affinidi-tdk.git
      ref: main
      path: clients/dart/login_configuration_client

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_login_configuration_client:
    path: /path/to/affinidi_tdk_login_configuration_client

Install dependencies

dart pub get

Getting Started

Please follow the installation procedure and then run the following:

import 'package:affinidi_tdk_login_configuration_client/affinidi_tdk_login_configuration_client.dart';


final api = AffinidiTdkLoginConfigurationClient().getAllowListApi();
final GroupNamesInput groupNamesInput = ; // GroupNamesInput | List of group names as input

try {
    api.allowGroups(groupNamesInput);
} catch on DioException (e) {
    print("Exception when calling AllowListApi->allowGroups: $e\n");
}

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
AllowListApiallowGroupsPOST /v1/allow-list/groups/add
AllowListApidisallowGroupsPOST /v1/allow-list/groups/remove
AllowListApilistAllowedGroupsGET /v1/allow-list/groups
ConfigurationApicreateLoginConfigurationsPOST /v1/login/configurationsCreate a new login configuration
ConfigurationApideleteLoginConfigurationsByIdDELETE /v1/login/configurations/{configurationId}Delete login configurations by ID
ConfigurationApigetClientMetadataByClientIdGET /v1/login/configurations/metadata/{clientId}Get Client Metadata By OAuth 2.0 Client ID
ConfigurationApigetLoginConfigurationsByIdGET /v1/login/configurations/{configurationId}Get login configuration by ID
ConfigurationApilistLoginConfigurationsGET /v1/login/configurationsList login configurations
ConfigurationApiupdateLoginConfigurationsByIdPATCH /v1/login/configurations/{configurationId}Update login configurations by ID
DenyListApiblockGroupsPOST /v1/deny-list/groups/add
DenyListApiblockUsersPOST /v1/deny-list/users/add
DenyListApilistBlockedGroupsGET /v1/deny-list/groups
DenyListApilistBlockedUsersGET /v1/deny-list/users
DenyListApiunblockGroupsPOST /v1/deny-list/groups/remove
DenyListApiunblockUsersPOST /v1/deny-list/users/remove
GroupApiaddUserToGroupPOST /v1/groups/{groupName}/users
GroupApicreateGroupPOST /v1/groups
GroupApideleteGroupDELETE /v1/groups/{groupName}
GroupApigetGroupByIdGET /v1/groups/{groupName}
GroupApilistGroupUserMappingsGET /v1/groups/{groupName}/users
GroupApilistGroupsGET /v1/groups
GroupApiremoveUserFromGroupDELETE /v1/groups/{groupName}/users
IdpApiv1LoginProjectProjectIdOauth2AuthGetGET /v1/login/project/{projectId}/oauth2/authOAuth 2.0 Authorize Endpoint
IdpApiv1LoginProjectProjectIdOauth2RevokePostPOST /v1/login/project/{projectId}/oauth2/revokeRevoke OAuth 2.0 Access or Refresh Token
IdpApiv1LoginProjectProjectIdOauth2SessionsLogoutGetGET /v1/login/project/{projectId}/oauth2/sessions/logoutOpenID Connect Front- and Back-channel Enabled Logout
IdpApiv1LoginProjectProjectIdOauth2TokenPostPOST /v1/login/project/{projectId}/oauth2/tokenThe OAuth 2.0 Token Endpoint
IdpApiv1LoginProjectProjectIdUserinfoGetGET /v1/login/project/{projectId}/userinfoOpenID Connect Userinfo
IdpApiv1LoginProjectProjectIdWellKnownJwksJsonGetGET /v1/login/project/{projectId}/.well-known/jwks.jsonDiscover Well-Known JSON Web Keys
IdpApiv1LoginProjectProjectIdWellKnownOpenidConfigurationGetGET /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: HTTP Bearer Token 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