id_service.proto
path agntcy/identity/node/v1alpha1/id_service.proto
package agntcy.identity.node.v1alpha1
Messages
GenerateRequest
Generate an Id and its corresponding ResolverMetadata for the specified Issuer For external IdPs, the Issuer should be provided with a Proof of ownership of the Issuer's provided id
| Name | Type | Description |
|---|---|---|
issuer | agntcy.identity.core.v1alpha1.Issuer | The Issuer details |
proof | optional agntcy.identity.core.v1alpha1.Proof | Optional Proof of ownership of the Issuer's provided id This should be provided when the Issuer is provided by an external IdP Example: a signed JWT |
GenerateResponse
Returns the Generated Id and its corresponding ResolverMetadata
| Name | Type | Description |
|---|---|---|
resolver_metadata | agntcy.identity.core.v1alpha1.ResolverMetadata | The ResolverMetadata corresponding to the generated Id |
ResolveRequest
Resolve a specified Id to its corresponding ResolverMetadata
| Name | Type | Description |
|---|---|---|
id | string | Id is the identifier. |
ResolveResponse
Returns the ResolverMetadata corresponding to the specified Id
| Name | Type | Description |
|---|---|---|
resolver_metadata | agntcy.identity.core.v1alpha1.ResolverMetadata | The ResolverMetadata resolved from the Id |
Services
IdService
IdService is the service that provides ID operations.
Generate
| Method | Generate |
|---|---|
| Request | GenerateRequest |
| Response | GenerateResponse |
| Description | Generate an Id and its corresponding ResolverMetadata for the specified Issuer |
Resolve
| Method | Resolve |
|---|---|
| Request | ResolveRequest |
| Response | ResolveResponse |
| Description | Resolve a specified Id to its corresponding ResolverMetadata |