Which words in the sentence are the adverb clause?

I gave the gift to my friend as soon as she opened the door.

A.
I gave the gift to my friend

B.
as soon as she opened the door

C.
to my friend