@bloock/sdk / CredentialSchema
Class: CredentialSchema
Represents the schema information for a credential, including its ID and type.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CredentialSchema(id
, type
): CredentialSchema
Constructs an CredentialSchema object with the specified parameters.
Parameters
Name | Type |
---|---|
id | string |
type | string |
Returns
Defined in
entity/identity/credential_schema.ts:15
Properties
id
• id: string
Defined in
entity/identity/credential_schema.ts:7
type
• type: string
Defined in
entity/identity/credential_schema.ts:8
Methods
toProto
▸ toProto(): CredentialSchema
Returns
CredentialSchema
Defined in
entity/identity/credential_schema.ts:20
fromProto
▸ fromProto(r
): CredentialSchema
Parameters
Name | Type |
---|---|
r | CredentialSchema |