MCPcopy Create free account
hub / github.com/ory/hydra / DecodeFromConsentChallenge

Function DecodeFromConsentChallenge

flow/flow_encoding.go:49–54  ·  view source on GitHub ↗
(ctx context.Context, d decodeDependencies, challenge string)

Source from the content-addressed store, hash-verified

47}
48
49func DecodeFromConsentChallenge(ctx context.Context, d decodeDependencies, challenge string) (_ *Flow, err error) {
50 ctx, span := d.Tracer(ctx).Tracer().Start(ctx, "flow.DecodeFromConsentChallenge")
51 defer otelx.End(span, &err)
52
53 return decodeFlow(ctx, d, challenge, consentChallenge)
54}
55
56func DecodeFromDeviceChallenge(ctx context.Context, d decodeDependencies, challenge string) (_ *Flow, err error) {
57 ctx, span := d.Tracer(ctx).Tracer().Start(ctx, "flow.DecodeFromDeviceChallenge")

Calls 2

decodeFlowFunction · 0.85
TracerMethod · 0.65

Tested by 2