Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct { }
Parser can parse claim data according to specification
func (Parser) GetFieldSlotIndex ¶
GetFieldSlotIndex return index of slot from 0 to 7 (each claim has by default 8 slots)
func (Parser) ParseClaim ¶
func (s Parser) ParseClaim(ctx context.Context, credential verifiable.W3CCredential, opts *processor.CoreClaimOptions) (*core.Claim, error)
ParseClaim creates Claim object from W3CCredential Deprecated: use credential.ToCoreClaim instead
Click to show internal directories.
Click to hide internal directories.