(ctx context.Context)
| 132 | } |
| 133 | |
| 134 | func 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 |
| 144 | func withFlowState(ctx context.Context, flowState *models.FlowState) context.Context { |