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

Function getRequestToken

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

Source from the content-addressed store, hash-verified

219}
220
221func getRequestToken(ctx context.Context) string {
222 obj := ctx.Value(oauthTokenKey)
223 if obj == nil {
224 return ""
225 }
226 return obj.(string)
227}
228
229func withOAuthVerifier(ctx context.Context, token string) context.Context {
230 return context.WithValue(ctx, oauthVerifierKey, token)

Callers 1

oAuth1CallbackMethod · 0.85

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected