No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://github.com/affinidi/affinidi-tdk
Dart 2.12 or later
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
affinidi_tdk_iam_client:
git: https://github.com/affinidi.com/affinidi-tdk.git
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
affinidi_tdk_iam_client:
path: /path/to/affinidi_tdk_iam_client
TODO
Please follow the installation procedure and then run the following:
import 'package:affinidi_tdk_iam_client/api.dart';
final api_instance = ConsumerAuthApi();
final consumerAuthTokenEndpointInput = ConsumerAuthTokenEndpointInput(); // ConsumerAuthTokenEndpointInput | ConsumerAuthTokenEndpoint
try {
final result = api_instance.consumerAuthTokenEndpoint(consumerAuthTokenEndpointInput);
print(result);
} catch (e) {
print('Exception when calling ConsumerAuthApi->consumerAuthTokenEndpoint: $e\n');
}
All URIs are relative to https://apse1.api.affinidi.io/iam
Class | Method | HTTP request | Description |
---|---|---|---|
ConsumerAuthApi | consumerAuthTokenEndpoint | POST /v1/consumer/oauth2/token | The Consumer OAuth 2.0 Token Endpoint |
DefaultApi | v1AuthProxyDelete | DELETE /v1/auth/{proxy+} | |
DefaultApi | v1AuthProxyGet | GET /v1/auth/{proxy+} | |
DefaultApi | v1AuthProxyPatch | PATCH /v1/auth/{proxy+} | |
DefaultApi | v1AuthProxyPost | POST /v1/auth/{proxy+} | |
DefaultApi | v1AuthProxyPut | PUT /v1/auth/{proxy+} | |
DefaultApi | v1IdpProxyDelete | DELETE /v1/idp/{proxy+} | |
DefaultApi | v1IdpProxyGet | GET /v1/idp/{proxy+} | |
DefaultApi | v1IdpProxyPatch | PATCH /v1/idp/{proxy+} | |
DefaultApi | v1IdpProxyPost | POST /v1/idp/{proxy+} | |
DefaultApi | v1IdpProxyPut | PUT /v1/idp/{proxy+} | |
PoliciesApi | getPolicies | GET /v1/policies/principals/{principalId} | |
PoliciesApi | updatePolicies | PUT /v1/policies/principals/{principalId} | |
ProjectsApi | addPrincipalToProject | POST /v1/projects/principals | |
ProjectsApi | createProject | POST /v1/projects | |
ProjectsApi | deletePrincipalFromProject | DELETE /v1/projects/principals/{principalId} | |
ProjectsApi | listPrincipalsOfProject | GET /v1/projects/principals | |
ProjectsApi | listProject | GET /v1/projects | |
ProjectsApi | updateProject | PATCH /v1/projects/{projectId} | |
StsApi | createProjectScopedToken | POST /v1/sts/create-project-scoped-token | |
StsApi | whoami | GET /v1/sts/whoami | |
TokensApi | createToken | POST /v1/tokens | |
TokensApi | deleteToken | DELETE /v1/tokens/{tokenId} | |
TokensApi | getToken | GET /v1/tokens/{tokenId} | |
TokensApi | listToken | GET /v1/tokens | |
TokensApi | updateToken | PATCH /v1/tokens/{tokenId} | |
WellKnownApi | getWellKnownDid | GET /.well-known/did.json | |
WellKnownApi | getWellKnownJwks | GET /.well-known/jwks.json |
- ActionForbiddenError
- AddUserToProjectInput
- ConsumerAuthTokenEndpointInput
- ConsumerAuthTokenEndpointOutput
- CorsConsumerAuthTokenEndpointOK
- CreateProjectInput
- CreateProjectScopedTokenInput
- CreateProjectScopedTokenOutput
- CreateTokenInput
- GetWellKnownDidOK
- InvalidDIDError
- InvalidJwtTokenError
- InvalidParameterError
- JsonWebKeyDto
- JsonWebKeySetDto
- NotFoundError
- PolicyDto
- PolicyStatementDto
- PrincipalCannotBeDeletedError
- PrincipalDoesNotBelongToProjectError
- ProjectDto
- ProjectList
- PublicKeyCannotBeResolvedFromDidError
- ServiceErrorResponse
- ServiceErrorResponseDetailsInner
- TokenAuthenticationMethodDto
- TokenDto
- TokenList
- TokenPrivateKeyAuthenticationMethodDto
- TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo
- TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf
- TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf1
- TypedPricipalId
- UnauthorizedError
- UnexpectedError
- UpdateProjectInput
- UpdateTokenInput
- UpdateTokenPrivateKeyAuthenticationMethodDto
- UserDto
- UserList
- WhoamiDto
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header
- Type: API key
- API key parameter name: authorization
- Location: HTTP header