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

Function getOAuthClientStateID

internal/api/context.go:134–141  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

132}
133
134func getOAuthClientStateID(ctx context.Context) uuid.UUID {
135 obj := ctx.Value(oauthClientStateKey)
136 if obj == nil {
137 return uuid.Nil
138 }
139
140 return obj.(uuid.UUID)
141}
142
143// withFlowState stores the entire FlowState object in the context
144func withFlowState(ctx context.Context, flowState *models.FlowState) context.Context {

Callers 1

oAuthCallbackMethod · 0.85

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected