(ctx context.Context, d decodeDependencies, challenge string)
| 47 | } |
| 48 | |
| 49 | func 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 | |
| 56 | func DecodeFromDeviceChallenge(ctx context.Context, d decodeDependencies, challenge string) (_ *Flow, err error) { |
| 57 | ctx, span := d.Tracer(ctx).Tracer().Start(ctx, "flow.DecodeFromDeviceChallenge") |