Method CreateWithCredentials
CreateWithCredentials(String, String)
Creates a SecurityOptions instance with the specified user credentials.
Declaration
public static SecurityOptions CreateWithCredentials(string userId, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | userId | The user ID for authentication and authorization. |
| System.String | password | The password for authentication and authorization. |
Returns
| Type | Description |
|---|---|
| SecurityOptions | A SecurityOptions instance configured with the provided credentials. |