Applies the values from the IHasCredentials<TCredentials> to the specified target.
The target object.
The current environment in context.
The current application in context.