You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: onixlabs-corda-identity-framework-integration/src/main/kotlin/io/onixlabs/corda/identityframework/integration/AttestationCommandService.kt
Copy file name to clipboardExpand all lines: onixlabs-corda-identity-framework-integration/src/main/kotlin/io/onixlabs/corda/identityframework/integration/ClaimCommandService.kt
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,11 @@ class ClaimCommandService(rpc: CordaRPCOps) : RPCService(rpc) {
42
42
/**
43
43
* Issues a claim.
44
44
*
45
+
* @param T The underlying claim value type.
45
46
* @param claim The claim to issue.
46
47
* @param notary The notary to use for the transaction.
47
48
* @param observers Additional observers of the transaction.
49
+
* @return Returns a flow process handle.
48
50
*/
49
51
fun <T:Any> issueClaim(
50
52
claim:CordaClaim<T>,
@@ -65,6 +67,7 @@ class ClaimCommandService(rpc: CordaRPCOps) : RPCService(rpc) {
65
67
* @param linearId The unique identifier of the claim.
66
68
* @param notary The notary to use for the transaction.
67
69
* @param observers Additional observers of the transaction.
70
+
* @return Returns a flow process handle.
68
71
*/
69
72
fun <T:Any> issueClaim(
70
73
property:String,
@@ -86,6 +89,7 @@ class ClaimCommandService(rpc: CordaRPCOps) : RPCService(rpc) {
86
89
* @param oldClaim The claim to be consumed.
87
90
* @param newClaim The claim to be created.
88
91
* @param observers Additional observers of the transaction.
92
+
* @return Returns a flow process handle.
89
93
*/
90
94
fun <T:Any> amendClaim(
91
95
oldClaim:StateAndRef<CordaClaim<T>>,
@@ -102,6 +106,7 @@ class ClaimCommandService(rpc: CordaRPCOps) : RPCService(rpc) {
102
106
* @param claim The claim to be consumed.
103
107
* @param value The amended value of the claim.
104
108
* @param observers Additional observers of the transaction.
109
+
* @return Returns a flow process handle.
105
110
*/
106
111
fun <T:Any> amendClaim(
107
112
claim:StateAndRef<CordaClaim<T>>,
@@ -117,16 +122,13 @@ class ClaimCommandService(rpc: CordaRPCOps) : RPCService(rpc) {
117
122
* @param T The underlying claim value type.
118
123
* @param claim The claim to be consumed.
119
124
* @param observers Additional observers of the transaction.
Copy file name to clipboardExpand all lines: onixlabs-corda-identity-framework-integration/src/test/kotlin/io/onixlabs/corda/identityframework/integration/AttestationIntegrationTests.kt
0 commit comments