MCPcopy Create free account
hub / github.com/supabase/auth / getFlowState

Function getFlowState

internal/api/context.go:149–155  ·  view source on GitHub ↗

getFlowState retrieves the FlowState object from the context

(ctx context.Context)

Source from the content-addressed store, hash-verified

147
148// getFlowState retrieves the FlowState object from the context
149func getFlowState(ctx context.Context) *models.FlowState {
150 obj := ctx.Value(flowStateContextKey)
151 if obj == nil {
152 return nil
153 }
154 return obj.(*models.FlowState)
155}
156
157func getInviteToken(ctx context.Context) string {
158 obj := ctx.Value(inviteTokenKey)

Callers 1

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected