• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

input-output-hk / atala-prism-building-blocks / 7472574865

10 Jan 2024 09:05AM UTC coverage: 30.68% (-0.03%) from 30.708%
7472574865

push

web-flow
docs(prism-agent): add verification policy OpenAPI description (#835)

Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>

4013 of 13080 relevant lines covered (30.68%)

0.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/castor/lib/core/src/main/scala/io/iohk/atala/castor/core/model/did/VerificationRelationship.scala
1
package io.iohk.atala.castor.core.model.did
2

3
enum VerificationRelationship(val name: String) {
4
  case Authentication extends VerificationRelationship("authentication")
5
  case AssertionMethod extends VerificationRelationship("assertionMethod")
6
  case KeyAgreement extends VerificationRelationship("keyAgreement")
7
  case CapabilityInvocation extends VerificationRelationship("capabilityInvocation")
8
  case CapabilityDelegation extends VerificationRelationship("capabilityDelegation")
9
}
10

11
object VerificationRelationship {
12

×
13
  private val lookup = VerificationRelationship.values.map(i => i.name -> i).toMap
14

×
15
  def parseString(s: String): Option[VerificationRelationship] = lookup.get(s)
16

17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc