DIDSubject

fmgp.did.DIDSubject$package.DIDSubject
object DIDSubject

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DIDSubject.type

Members list

Value members

Concrete methods

unsave TODO rename to maybe instead of apply

unsave TODO rename to maybe instead of apply

Attributes

Throws
AssertionError

if not a valid DIDSubject

inline def parseString(id: String): Either[String, (String, String)]
inline def unsafeParseString(id: String): (String, String)

Attributes

Throws
AssertionError

if not a valid DIDSubject

Givens

Givens

given decoder: JsonDecoder[DIDSubject]
given encoder: JsonEncoder[DIDSubject]

Extensions

Extensions

extension (id: DIDSubject)
inline def subject: String
def toDID: DID