RequiresHttpAction concept in getCredentials