forActivity

Creates a client that always presents Credential Manager UI from activity.

Use the primary constructor when the client outlives an activity and must resolve the current foreground context through a PasskeyPromptContextProvider.