Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Allow to pass username and password keys as parameters for the UserFact attribute #5

@Alexei000

Description

@Alexei000

This is a very useful library when dealing with older applications that use Windows Authentication.
I was wondering if there is any particular reason why the username, password and domains keys cannot be provided as parameters:

    private readonly string usernameKey = "Username";
    private readonly string passwordKey = "Password";
    private readonly string domainKey = "Domain";

I am thinking about scenarios of testing using multiple users with various roles. This would require a secret file for each of them which is clearly feasible, but not the way Visual Studio treats them (one associated secret file per project).

Is there any reason for this design? If not, I will try to add overloads allowing to pass the keys.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions