RepositoryAuthentication

Structure defining authentication data for external repository authentication.

Properties

Type Name Description
string ConfigurationName Name of the authentication configuration.
string Username Username used for basic authentication.
string Password Password used for basic authentication.
string AuthenticationToken The authentication token for plugin authentication. Must be null if using basic username/password authentication
string RefreshToken The refresh token for plugin authentication.

ConfigurationName is typically retrieved from the PluginInfoConfiguration.Name information returned in RepositoryAuthenticationTarget. This must be provided even if basic authentication is being used.