MCPcopy
hub / github.com/ory/hydra / DecodeFromLoginChallenge

Function DecodeFromLoginChallenge

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

Source from the content-addressed store, hash-verified

40}
41
42func DecodeFromLoginChallenge(ctx context.Context, d decodeDependencies, challenge string) (_ *Flow, err error) {
43 ctx, span := d.Tracer(ctx).Tracer().Start(ctx, "flow.DecodeFromLoginChallenge")
44 defer otelx.End(span, &err)
45
46 return decodeFlow(ctx, d, challenge, loginChallenge)
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")

Callers 5

getOAuth2LoginRequestMethod · 0.92

Calls 2

decodeFlowFunction · 0.85
TracerMethod · 0.65

Tested by 2