Skip to main content

UsernamePasswordCredentials constructor

Initialize a new instance of the UsernamePasswordCredentials class.

public UsernamePasswordCredentials(string username, string password, GrpcChannel channel)
parameterdescription
usernameThe username.
passwordThe password.
channelThe GrpcChannel to use.

Return Value

A new instance of the UsernamePasswordCredentials class.

See Also

Our sites use tracking technologies. You can read more and control it in our Privacy Policy.