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