MCPcopy Create free account
hub / github.com/corestoreio/pkg / DecodeSegment

Function DecodeSegment

util/csjwt/encodeDecode.go:134–141  ·  view source on GitHub ↗

DecodeSegment decodes JWT specific base64url encoding with padding stripped. Returns a new byte slice. Error behaviour: NotValid.

(seg []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

VerifyMethod · 0.85
VerifyMethod · 0.85
unmarshalMethod · 0.85
VerifyMethod · 0.85
VerifyMethod · 0.85
VerifyMethod · 0.85

Calls 2

DecodeMethod · 0.80
NewMethod · 0.65

Tested by

no test coverage detected