(ctx context.Context)
| 155 | } |
| 156 | |
| 157 | func getInviteToken(ctx context.Context) string { |
| 158 | obj := ctx.Value(inviteTokenKey) |
| 159 | if obj == nil { |
| 160 | return "" |
| 161 | } |
| 162 | |
| 163 | return obj.(string) |
| 164 | } |
| 165 | |
| 166 | // withExternalProviderType adds the provided request ID to the context. |
| 167 | func withExternalProviderType(ctx context.Context, id string, emailOptional bool) context.Context { |
no test coverage detected