Gets the credentials assigned to an IHasCredentials<TCredentials> operation.
The object that has the credentials.