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

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

01 Jun 2023 08:00AM UTC coverage: 27.25% (-0.08%) from 27.329%
5141777763

push

web-flow
chore(prism-agent): split ManagedDIDService in trait & impl (#538)

* chore(prism-agent): split the ManagedDIDService class in a trait and implementation

* chore(prism-agent): run scalafmt

* chore(prism-agent): coveralls experiment

2419 of 8877 relevant lines covered (27.25%)

0.27 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