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

def apply(s: String): DIDSubject

unsave TODO rename to maybe instead of apply

unsave TODO rename to maybe instead of apply

Attributes

Throws
AssertionError

if not a valid DIDSubject

def either(s: String): Either[FailToParse, DIDSubject]
inline def parseString(id: String): (String, String)

Attributes

Throws
AssertionError

if not a valid DIDSubject

Concrete fields

val pattern: Regex

Givens

Givens

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

Extensions

Extensions

extension (id: DIDSubject)(id: DIDSubject)
def sameSubject(that: DIDSubject): Boolean
def sameSubjectQ(that: DIDSubjectQ): Boolean
inline def subject: String
def toDID: DID